Radio Setup Command for Pre-Defined Schemes. More...
#include <rf_common_cmd.h>
Data Fields | |
uint16_t | commandNo |
The command ID number 0x0802. 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 |
uint8_t | mode |
The main mode to use 0x00: BLE 0x01: IEEE 802.15.4 0x02: 2 Mbps GFSK 0x05: 5 Mbps coded 8-FSK 0xFF: Keep existing mode; update overrides only Others: Reserved More... | |
uint8_t | loDivider |
LO divider setting to use. Supported values: 0 (equivalent to 2), 2, 5, 6, 10, 12, 15, and 30. Value of 0 or 2 only supported for CC1350. More... | |
struct { | |
uint16_t frontEndMode:3 | |
0x00: Differential mode 0x01: Single-ended mode RFP 0x02: Single-ended mode RFN 0x05 Single-ended mode RFP with external frontend control on RF pins (RFN and RXTX) 0x06 Single-ended mode RFN with external frontend control on RF pins (RFP and RXTX) Others: Reserved More... | |
uint16_t biasMode:1 | |
0: Internal bias 1: External bias More... | |
uint16_t analogCfgMode:6 | |
0x00: Write analog configuration. Required first time after boot and when changing frequency band or front-end configuration 0x2D: Keep analog configuration. May be used after standby or when changing mode with the same frequency band and front-end configuration Others: Reserved More... | |
uint16_t bNoFsPowerUp:1 | |
0: Power up frequency synth 1: Do not power up frequency synth More... | |
} | config |
Configuration options. More... | |
uint16_t | txPower |
Transmit power. More... | |
uint32_t * | pRegOverride |
Pointer to a list of hardware and configuration registers to override. If NULL, no override is used. More... | |
Radio Setup Command for Pre-Defined Schemes.
Definition at line 165 of file rf_common_cmd.h.
uint16_t rfc_CMD_RADIO_SETUP_s::analogCfgMode |
0x00: Write analog configuration.
Required first time after boot and when changing frequency band or front-end configuration
0x2D: Keep analog configuration.
May be used after standby or when changing mode with the same frequency band and front-end configuration
Others: Reserved
Definition at line 203 of file rf_common_cmd.h.
uint8_t rfc_CMD_RADIO_SETUP_s::bEnaCmd |
0: No alternative trigger command
1: CMD_TRIGGER can be used as an alternative trigger
Definition at line 174 of file rf_common_cmd.h.
uint16_t rfc_CMD_RADIO_SETUP_s::biasMode |
0: Internal bias
1: External bias
Definition at line 201 of file rf_common_cmd.h.
uint16_t rfc_CMD_RADIO_SETUP_s::bNoFsPowerUp |
0: Power up frequency synth
1: Do not power up frequency synth
Definition at line 210 of file rf_common_cmd.h.
uint16_t rfc_CMD_RADIO_SETUP_s::commandNo |
The command ID number 0x0802.
Definition at line 166 of file rf_common_cmd.h.
struct { ... } rfc_CMD_RADIO_SETUP_s::condition |
struct { ... } rfc_CMD_RADIO_SETUP_s::config |
Configuration options.
uint16_t rfc_CMD_RADIO_SETUP_s::frontEndMode |
0x00: Differential mode
0x01: Single-ended mode RFP
0x02: Single-ended mode RFN
0x05 Single-ended mode RFP with external frontend control on RF pins (RFN and RXTX)
0x06 Single-ended mode RFN with external frontend control on RF pins (RFP and RXTX)
Others: Reserved
Definition at line 195 of file rf_common_cmd.h.
uint8_t rfc_CMD_RADIO_SETUP_s::loDivider |
LO divider setting to use. Supported values: 0 (equivalent to 2), 2, 5, 6, 10, 12, 15, and 30.
Value of 0 or 2 only supported for CC1350.
Definition at line 191 of file rf_common_cmd.h.
uint8_t rfc_CMD_RADIO_SETUP_s::mode |
The main mode to use
0x00: BLE
0x01: IEEE 802.15.4
0x02: 2 Mbps GFSK
0x05: 5 Mbps coded 8-FSK
0xFF: Keep existing mode; update overrides only
Others: Reserved
Definition at line 184 of file rf_common_cmd.h.
uint8_t rfc_CMD_RADIO_SETUP_s::nSkip |
Number of skips + 1 if the rule involves skipping. 0: same, 1: next, 2: skip next, ...
Definition at line 182 of file rf_common_cmd.h.
uint8_t rfc_CMD_RADIO_SETUP_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 177 of file rf_common_cmd.h.
rfc_radioOp_t* rfc_CMD_RADIO_SETUP_s::pNextOp |
Pointer to the next operation to run after this operation is done.
Definition at line 170 of file rf_common_cmd.h.
uint32_t* rfc_CMD_RADIO_SETUP_s::pRegOverride |
Pointer to a list of hardware and configuration registers to override. If NULL, no override is used.
Definition at line 214 of file rf_common_cmd.h.
uint8_t rfc_CMD_RADIO_SETUP_s::rule |
Condition for running next command: Rule for how to proceed.
Definition at line 181 of file rf_common_cmd.h.
ratmr_t rfc_CMD_RADIO_SETUP_s::startTime |
Absolute or relative start time (depending on the value of startTrigger
)
Definition at line 171 of file rf_common_cmd.h.
struct { ... } rfc_CMD_RADIO_SETUP_s::startTrigger |
Identification of the trigger that starts the operation.
uint16_t rfc_CMD_RADIO_SETUP_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 167 of file rf_common_cmd.h.
uint8_t rfc_CMD_RADIO_SETUP_s::triggerNo |
The trigger number of the CMD_TRIGGER command that triggers this action.
Definition at line 176 of file rf_common_cmd.h.
uint8_t rfc_CMD_RADIO_SETUP_s::triggerType |
The type of trigger.
Definition at line 173 of file rf_common_cmd.h.
uint16_t rfc_CMD_RADIO_SETUP_s::txPower |
Transmit power.
Definition at line 213 of file rf_common_cmd.h.