#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 184 of file rf_prop_cmd.h.
uint8_t rfc_CMD_PROP_TX_ADV_s::__pad0__ |
Definition at line 206 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 211 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 209 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 193 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 217 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 204 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 207 of file rf_prop_cmd.h.
uint16_t rfc_CMD_PROP_TX_ADV_s::commandNo |
The command ID number 0x3803.
Definition at line 185 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 219 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 201 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 214 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 196 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 215 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 189 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 239 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 234 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 200 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 224 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 190 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 186 of file rf_prop_cmd.h.
uint32_t rfc_CMD_PROP_TX_ADV_s::syncWord |
Sync word to transmit.
Definition at line 238 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 195 of file rf_prop_cmd.h.
uint8_t rfc_CMD_PROP_TX_ADV_s::triggerType |
The type of trigger.
Definition at line 192 of file rf_prop_cmd.h.