![]() |
![]() |
|
rflib
|
Frequency Synthesizer Programming Command. More...
#include <rf_common_cmd.h>

Data Fields | |
| uint16_t | commandNo |
| The command ID number 0x0803. More... | |
| uint16_t | status |
| An integer telling the status of the command. This value is updated by the radio CPU during operation and may be read by the system CPU at any time. More... | |
| rfc_radioOp_t * | pNextOp |
| Pointer to the next operation to run after this operation is done. More... | |
| ratmr_t | startTime |
Absolute or relative start time (depending on the value of startTrigger) More... | |
| struct { | |
| uint8_t triggerType:4 | |
| The type of trigger. More... | |
| uint8_t bEnaCmd:1 | |
| 0: No alternative trigger command 1: CMD_TRIGGER can be used as an alternative trigger More... | |
| uint8_t triggerNo:2 | |
| The trigger number of the CMD_TRIGGER command that triggers this action. More... | |
| uint8_t pastTrig:1 | |
| 0: A trigger in the past is never triggered, or for start of commands, give an error 1: A trigger in the past is triggered as soon as possible More... | |
| } | startTrigger |
| Identification of the trigger that starts the operation. More... | |
| struct { | |
| uint8_t rule:4 | |
| Condition for running next command: Rule for how to proceed. More... | |
| uint8_t nSkip:4 | |
| Number of skips + 1 if the rule involves skipping. 0: same, 1: next, 2: skip next, ... More... | |
| } | condition |
| uint16_t | frequency |
| The frequency in MHz to tune to. More... | |
| uint16_t | fractFreq |
| Fractional part of the frequency to tune to. More... | |
| struct { | |
| uint8_t bTxMode:1 | |
| 0: Start synth in RX mode 1: Start synth in TX mode More... | |
| uint8_t refFreq:6 | |
| 0: Use default reference frequency Others: Use reference frequency 48 MHz/ refFreq More... | |
| } | synthConf |
| uint8_t | __dummy0 |
| Reserved, always write 0 More... | |
| uint8_t | __dummy1 |
| Reserved More... | |
| uint8_t | __dummy2 |
| Reserved More... | |
| uint16_t | __dummy3 |
| Reserved More... | |
| struct { | |
| uint8_t triggerType:4 | |
| The type of trigger. More... | |
| uint8_t bEnaCmd:1 | |
| 0: No alternative trigger command 1: CMD_TRIGGER can be used as an alternative trigger More... | |
| uint8_t triggerNo:2 | |
| The trigger number of the CMD_TRIGGER command that triggers this action. More... | |
| uint8_t pastTrig:1 | |
| 0: A trigger in the past is never triggered, or for start of commands, give an error 1: A trigger in the past is triggered as soon as possible More... | |
| } | startTrigger |
| Identification of the trigger that starts the operation. More... | |
| struct { | |
| uint8_t rule:4 | |
| Condition for running next command: Rule for how to proceed. More... | |
| uint8_t nSkip:4 | |
| Number of skips + 1 if the rule involves skipping. 0: same, 1: next, 2: skip next, ... More... | |
| } | condition |
| struct { | |
| uint8_t bTxMode:1 | |
| 0: Start synth in RX mode 1: Start synth in TX mode More... | |
| uint8_t refFreq:6 | |
| 0: Use default reference frequency Others: Use reference frequency 48 MHz/ refFreq More... | |
| } | synthConf |
| struct { | |
| uint8_t triggerType:4 | |
| The type of trigger. More... | |
| uint8_t bEnaCmd:1 | |
| 0: No alternative trigger command 1: CMD_TRIGGER can be used as an alternative trigger More... | |
| uint8_t triggerNo:2 | |
| The trigger number of the CMD_TRIGGER command that triggers this action. More... | |
| uint8_t pastTrig:1 | |
| 0: A trigger in the past is never triggered, or for start of commands, give an error 1: A trigger in the past is triggered as soon as possible More... | |
| } | startTrigger |
| Identification of the trigger that starts the operation. More... | |
| struct { | |
| uint8_t rule:4 | |
| Condition for running next command: Rule for how to proceed. More... | |
| uint8_t nSkip:4 | |
| Number of skips + 1 if the rule involves skipping. 0: same, 1: next, 2: skip next, ... More... | |
| } | condition |
| struct { | |
| uint8_t bTxMode:1 | |
| 0: Start synth in RX mode 1: Start synth in TX mode More... | |
| uint8_t refFreq:6 | |
| 0: Use default reference frequency Others: Use reference frequency 48 MHz/ refFreq More... | |
| } | synthConf |
Frequency Synthesizer Programming Command.
| uint16_t rfc_CMD_FS_s::commandNo |
The command ID number 0x0803.
| uint16_t rfc_CMD_FS_s::status |
An integer telling the status of the command. This value is updated by the radio CPU during operation and may be read by the system CPU at any time.
| rfc_radioOp_t * rfc_CMD_FS_s::pNextOp |
Pointer to the next operation to run after this operation is done.
| ratmr_t rfc_CMD_FS_s::startTime |
Absolute or relative start time (depending on the value of startTrigger)
| uint8_t rfc_CMD_FS_s::triggerType |
The type of trigger.
| uint8_t rfc_CMD_FS_s::bEnaCmd |
0: No alternative trigger command
1: CMD_TRIGGER can be used as an alternative trigger
| uint8_t rfc_CMD_FS_s::triggerNo |
The trigger number of the CMD_TRIGGER command that triggers this action.
| uint8_t rfc_CMD_FS_s::pastTrig |
0: A trigger in the past is never triggered, or for start of commands, give an error
1: A trigger in the past is triggered as soon as possible
| struct { ... } rfc_CMD_FS_s::startTrigger |
Identification of the trigger that starts the operation.
| uint8_t rfc_CMD_FS_s::rule |
Condition for running next command: Rule for how to proceed.
| uint8_t rfc_CMD_FS_s::nSkip |
Number of skips + 1 if the rule involves skipping. 0: same, 1: next, 2: skip next, ...
| struct { ... } rfc_CMD_FS_s::condition |
| uint16_t rfc_CMD_FS_s::frequency |
The frequency in MHz to tune to.
| uint16_t rfc_CMD_FS_s::fractFreq |
Fractional part of the frequency to tune to.
| uint8_t rfc_CMD_FS_s::bTxMode |
0: Start synth in RX mode
1: Start synth in TX mode
| uint8_t rfc_CMD_FS_s::refFreq |
0: Use default reference frequency
Others: Use reference frequency 48 MHz/refFreq
| struct { ... } rfc_CMD_FS_s::synthConf |
| uint8_t rfc_CMD_FS_s::__dummy0 |
Reserved, always write 0
| uint8_t rfc_CMD_FS_s::__dummy1 |
Reserved
| uint8_t rfc_CMD_FS_s::__dummy2 |
Reserved
| uint16_t rfc_CMD_FS_s::__dummy3 |
Reserved
| struct { ... } rfc_CMD_FS_s::startTrigger |
Identification of the trigger that starts the operation.
| struct { ... } rfc_CMD_FS_s::condition |
| struct { ... } rfc_CMD_FS_s::synthConf |
| struct { ... } rfc_CMD_FS_s::startTrigger |
Identification of the trigger that starts the operation.
| struct { ... } rfc_CMD_FS_s::condition |
| struct { ... } rfc_CMD_FS_s::synthConf |