rflib
|
Proprietary Mode Advanced Transmit Command. More...
#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 + 1 if the rule involves skipping. 0: same, 1: next, 2: skip next, ... 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... | |
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 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 |
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... | |
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 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 |
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... | |
Proprietary Mode Advanced Transmit Command.
uint16_t rfc_CMD_PROP_TX_ADV_s::commandNo |
The command ID number 0x3803.
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.
rfc_radioOp_t * rfc_CMD_PROP_TX_ADV_s::pNextOp |
Pointer to the next operation to run after this operation is done.
ratmr_t rfc_CMD_PROP_TX_ADV_s::startTime |
Absolute or relative start time (depending on the value of startTrigger
)
uint8_t rfc_CMD_PROP_TX_ADV_s::triggerType |
The type of trigger.
uint8_t rfc_CMD_PROP_TX_ADV_s::bEnaCmd |
0: No alternative trigger command
1: CMD_TRIGGER can be used as an alternative trigger
uint8_t rfc_CMD_PROP_TX_ADV_s::triggerNo |
The trigger number of the CMD_TRIGGER command that triggers this action.
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
struct { ... } rfc_CMD_PROP_TX_ADV_s::startTrigger |
Identification of the trigger that starts the operation.
uint8_t rfc_CMD_PROP_TX_ADV_s::rule |
Condition for running next command: Rule for how to proceed.
uint8_t rfc_CMD_PROP_TX_ADV_s::nSkip |
Number of skips + 1 if the rule involves skipping. 0: same, 1: next, 2: skip next, ...
struct { ... } rfc_CMD_PROP_TX_ADV_s::condition |
uint8_t rfc_CMD_PROP_TX_ADV_s::bFsOff |
0: Keep frequency synth on after command
1: Turn frequency synth off after command
uint8_t rfc_CMD_PROP_TX_ADV_s::__pad0__ |
uint8_t rfc_CMD_PROP_TX_ADV_s::bUseCrc |
0: Do not append CRC
1: Append CRC
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
uint8_t rfc_CMD_PROP_TX_ADV_s::bCrcIncHdr |
0: Do not include header in CRC calculation
1: Include header in CRC calculation
struct { ... } rfc_CMD_PROP_TX_ADV_s::pktConf |
uint8_t rfc_CMD_PROP_TX_ADV_s::numHdrBits |
Number of bits in header (0–32)
uint16_t rfc_CMD_PROP_TX_ADV_s::pktLen |
Packet length. 0: Unlimited.
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)
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
uint8_t rfc_CMD_PROP_TX_ADV_s::source |
RAT input event number used for capture if external trigger is used for TX start.
struct { ... } rfc_CMD_PROP_TX_ADV_s::startConf |
struct { ... } rfc_CMD_PROP_TX_ADV_s::preTrigger |
Trigger for transition from preamble to sync word.
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.
uint32_t rfc_CMD_PROP_TX_ADV_s::syncWord |
Sync word to transmit.
uint8_t * rfc_CMD_PROP_TX_ADV_s::pPkt |
Pointer to packet, or TX queue for unlimited length.
struct { ... } rfc_CMD_PROP_TX_ADV_s::startTrigger |
Identification of the trigger that starts the operation.
struct { ... } rfc_CMD_PROP_TX_ADV_s::condition |
struct { ... } rfc_CMD_PROP_TX_ADV_s::pktConf |
struct { ... } rfc_CMD_PROP_TX_ADV_s::startConf |
struct { ... } rfc_CMD_PROP_TX_ADV_s::preTrigger |
Trigger for transition from preamble to sync word.
struct { ... } rfc_CMD_PROP_TX_ADV_s::startTrigger |
Identification of the trigger that starts the operation.
struct { ... } rfc_CMD_PROP_TX_ADV_s::condition |
struct { ... } rfc_CMD_PROP_TX_ADV_s::pktConf |
struct { ... } rfc_CMD_PROP_TX_ADV_s::startConf |
struct { ... } rfc_CMD_PROP_TX_ADV_s::preTrigger |
Trigger for transition from preamble to sync word.