readme: tiny format change
This commit is contained in:
parent
21999b6cbf
commit
9d49afa5a8
35
README.md
35
README.md
|
@ -85,23 +85,26 @@ publish-mqtt Foo/Bar "baz"
|
||||||
## List of Commands
|
## List of Commands
|
||||||
All currently supported commands are listed below.
|
All currently supported commands are listed below.
|
||||||
**Note: The following table only lists the subtopic. To make a full topic, add `Urukul/Control/` in front of all subtopics.**
|
**Note: The following table only lists the subtopic. To make a full topic, add `Urukul/Control/` in front of all subtopics.**
|
||||||
Example: Full topic of Reset command: `Urukul/Control/Reset`
|
### Example: Full topic of Reset command
|
||||||
|
```shell
|
||||||
|
Urukul/Control/Reset
|
||||||
|
```
|
||||||
|
|
||||||
| Subtopic| Message| Functionality|
|
| Subtopic | Message | Functionality|
|
||||||
| ---| ---| ---|
|
| --------------------------------------- | ------------------------------------------------------------------ | ---|
|
||||||
| `Reset`| | Reset the device|
|
| `Reset` | | Reset the device|
|
||||||
| `ChannelX/Switch`| `<off/on>`| Turn off/on the RF switch at channel X.|
|
| `ChannelX/Switch` | `<off/on>` | Turn off/on the RF switch at channel X.|
|
||||||
| `ChannelX/Attenuation`| `<atten> [dB]`| Set attenuation of channel X.|
|
| `ChannelX/Attenuation` | `<atten> [dB]` | Set attenuation of channel X.|
|
||||||
| `Clock/Source`| `<clk_src>`| Select the clock source of Urukul.|
|
| `Clock/Source` | `<clk_src>` | Select the clock source of Urukul.|
|
||||||
| `Clock/Frequency`| `<f_clk> [unit]`| Set the clock frequency of the clock source of Urukul.|
|
| `Clock/Frequency` | `<f_clk> [unit]` | Set the clock frequency of the clock source of Urukul.|
|
||||||
| `Clock/Source`| `<clk_div>`| Set the clock division of Urukul.|
|
| `Clock/Source` | `<clk_div>` | Set the clock division of Urukul.|
|
||||||
| `Clock`| `frequency: <f_clk> [unit], source: <clk_src>, division: <clk_div>`| Setup the clock tree for Urukul.|
|
| `Clock` | `frequency: <f_clk> [unit], source: <clk_src>, division: <clk_div>`| Setup the clock tree for Urukul.|
|
||||||
| `ChannelX/SystemClock`| `<f_sys_clk> [unit]`| Set the system clock frequency of channel X.|
|
| `ChannelX/SystemClock` | `<f_sys_clk> [unit]` | Set the system clock frequency of channel X.|
|
||||||
| `ChannelX/ProfileY/Singletone/Frequency`| `<freq> [unit]`| Setup a single tone profile at channel X, profile Y, with frequency `<freq> [unit]`.|
|
| `ChannelX/ProfileY/Singletone/Frequency`| `<freq> [unit]` | Setup a single tone profile at channel X, profile Y, with frequency `<freq> [unit]`.|
|
||||||
| `ChannelX/ProfileY/Singletone/Amplitude`| `<ampl>`| Setup a single tone profile at channel X, profile Y, with amplitude factor `<ampl>`.|
|
| `ChannelX/ProfileY/Singletone/Amplitude`| `<ampl>` | Setup a single tone profile at channel X, profile Y, with amplitude factor `<ampl>`.|
|
||||||
| `ChannelX/ProfileY/Singletone/Phase`| `<phase> [deg]`| Setup a single tone profile at channel X, profile Y, with phase `<phase> [deg]`.|
|
| `ChannelX/ProfileY/Singletone/Phase` | `<phase> [deg]` | Setup a single tone profile at channel X, profile Y, with phase `<phase> [deg]`.|
|
||||||
| `ChannelX/ProfileY/Singletone`| `frequency: <freq> [unit], amplitude: <ampl>, phase: <phase>`| Setup a compelte single tone profile at channel X, profile Y.|
|
| `ChannelX/ProfileY/Singletone` | `frequency: <freq> [unit], amplitude: <ampl>, phase: <phase>` | Setup a compelte single tone profile at channel X, profile Y.|
|
||||||
| `Profile`| `<pr_num>`| Switch to a DDS profile across all channels.|
|
| `Profile` | `<pr_num>` | Switch to a DDS profile across all channels.|
|
||||||
|
|
||||||
## Reset the device
|
## Reset the device
|
||||||
- Topic: `Urukul/Control/Reset`
|
- Topic: `Urukul/Control/Reset`
|
||||||
|
|
Loading…
Reference in New Issue