#include <rf_prop_cmd.h>
Data Fields | |
uint16_t | commandNo |
The command ID number 0x3803. 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 if the rule involves skipping. More... | |
} | condition |
struct { | |
uint8_t bFsOff:1 | |
0: Keep frequency synth on after command 1: Turn frequency synth off after command More... | |
uint8_t __pad0__:2 | |
uint8_t bUseCrc:1 | |
0: Do not append CRC 1: Append CRC More... | |
uint8_t bCrcIncSw:1 | |
0:Do not include sync word in CRC calculation 1: Include sync word in CRC calculation More... | |
uint8_t bCrcIncHdr:1 | |
0: Do not include header in CRC calculation 1: Include header in CRC calculation More... | |
} | pktConf |
uint8_t | numHdrBits |
Number of bits in header (0–32) More... | |
uint16_t | pktLen |
Packet length. 0: Unlimited. More... | |
struct { | |
uint8_t bExtTxTrig:1 | |
0: Start packet on a fixed time from the command start trigger 1: Start packet on an external trigger (input event to RAT) More... | |
uint8_t inputMode:2 | |
Input mode if external trigger is used for Tx start 0: Rising edge 1: Falling edge 2: Both edges 3: Reserved More... | |
uint8_t source:5 | |
RAT input event number used for capture if external trigger is used for Tx start. More... | |
} | startConf |
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... | |
} | preTrigger |
Trigger for transition from preamble to sync word. More... | |
ratmr_t | preTime |
Time used together with preTrigger for transition from preamble to sync word. If preTrigger.triggerType is set to "now", one preamble as configured in the setup will be sent. Otherwise, the preamble will be repeated until this trigger is observed. More... | |
uint32_t | syncWord |
Sync word to transmit. More... | |
uint8_t * | pPkt |
Pointer to packet, or Tx queue for unlimited length. More... | |
Definition at line 229 of file rf_prop_cmd.h.
uint8_t rfc_CMD_PROP_TX_ADV_s::__pad0__ |
Definition at line 251 of file rf_prop_cmd.h.
uint8_t rfc_CMD_PROP_TX_ADV_s::bCrcIncHdr |
0: Do not include header in CRC calculation
1: Include header in CRC calculation
Definition at line 256 of file rf_prop_cmd.h.
uint8_t rfc_CMD_PROP_TX_ADV_s::bCrcIncSw |
0:Do not include sync word in CRC calculation
1: Include sync word in CRC calculation
Definition at line 254 of file rf_prop_cmd.h.
uint8_t rfc_CMD_PROP_TX_ADV_s::bEnaCmd |
0: No alternative trigger command
1: CMD_TRIGGER can be used as an alternative trigger
Definition at line 238 of file rf_prop_cmd.h.
uint8_t rfc_CMD_PROP_TX_ADV_s::bExtTxTrig |
0: Start packet on a fixed time from the command start trigger
1: Start packet on an external trigger (input event to RAT)
Definition at line 262 of file rf_prop_cmd.h.
uint8_t rfc_CMD_PROP_TX_ADV_s::bFsOff |
0: Keep frequency synth on after command
1: Turn frequency synth off after command
Definition at line 249 of file rf_prop_cmd.h.
uint8_t rfc_CMD_PROP_TX_ADV_s::bUseCrc |
0: Do not append CRC
1: Append CRC
Definition at line 252 of file rf_prop_cmd.h.
uint16_t rfc_CMD_PROP_TX_ADV_s::commandNo |
The command ID number 0x3803.
Definition at line 230 of file rf_prop_cmd.h.
struct { ... } rfc_CMD_PROP_TX_ADV_s::condition |
uint8_t rfc_CMD_PROP_TX_ADV_s::inputMode |
Input mode if external trigger is used for Tx start
0: Rising edge
1: Falling edge
2: Both edges
3: Reserved
Definition at line 264 of file rf_prop_cmd.h.
uint8_t rfc_CMD_PROP_TX_ADV_s::nSkip |
Number of skips if the rule involves skipping.
Definition at line 246 of file rf_prop_cmd.h.
uint8_t rfc_CMD_PROP_TX_ADV_s::numHdrBits |
Number of bits in header (0–32)
Definition at line 259 of file rf_prop_cmd.h.
uint8_t rfc_CMD_PROP_TX_ADV_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
Definition at line 241 of file rf_prop_cmd.h.
struct { ... } rfc_CMD_PROP_TX_ADV_s::pktConf |
uint16_t rfc_CMD_PROP_TX_ADV_s::pktLen |
Packet length. 0: Unlimited.
Definition at line 260 of file rf_prop_cmd.h.
rfc_radioOp_t* rfc_CMD_PROP_TX_ADV_s::pNextOp |
Pointer to the next operation to run after this operation is done.
Definition at line 234 of file rf_prop_cmd.h.
uint8_t* rfc_CMD_PROP_TX_ADV_s::pPkt |
Pointer to packet, or Tx queue for unlimited length.
Definition at line 284 of file rf_prop_cmd.h.
ratmr_t rfc_CMD_PROP_TX_ADV_s::preTime |
Time used together with preTrigger
for transition from preamble to sync word. If preTrigger.triggerType
is set to "now", one preamble as configured in the setup will be sent. Otherwise, the preamble will be repeated until this trigger is observed.
Definition at line 279 of file rf_prop_cmd.h.
struct { ... } rfc_CMD_PROP_TX_ADV_s::preTrigger |
Trigger for transition from preamble to sync word.
uint8_t rfc_CMD_PROP_TX_ADV_s::rule |
Condition for running next command: Rule for how to proceed.
Definition at line 245 of file rf_prop_cmd.h.
uint8_t rfc_CMD_PROP_TX_ADV_s::source |
RAT input event number used for capture if external trigger is used for Tx start.
Definition at line 269 of file rf_prop_cmd.h.
struct { ... } rfc_CMD_PROP_TX_ADV_s::startConf |
ratmr_t rfc_CMD_PROP_TX_ADV_s::startTime |
Absolute or relative start time (depending on the value of startTrigger
)
Definition at line 235 of file rf_prop_cmd.h.
struct { ... } rfc_CMD_PROP_TX_ADV_s::startTrigger |
Identification of the trigger that starts the operation.
uint16_t rfc_CMD_PROP_TX_ADV_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.
Definition at line 231 of file rf_prop_cmd.h.
uint32_t rfc_CMD_PROP_TX_ADV_s::syncWord |
Sync word to transmit.
Definition at line 283 of file rf_prop_cmd.h.
uint8_t rfc_CMD_PROP_TX_ADV_s::triggerNo |
The trigger number of the CMD_TRIGGER command that triggers this action.
Definition at line 240 of file rf_prop_cmd.h.
uint8_t rfc_CMD_PROP_TX_ADV_s::triggerType |
The type of trigger.
Definition at line 237 of file rf_prop_cmd.h.