rflib
|
#include <rf_common_cmd.h>
Data Fields | |
uint16_t | commandNo |
The command ID number. 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, 2, 4, 5, 6, 10, 12, 15, and 30. 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... | |
uint16_t __pad0__:1 | |
uint16_t bSynthNarrowBand:1 | |
0: Normal synth mode 1: Narrow-band synth mode 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... | |
uint32_t * | pRegOverrideTxStd |
Pointer to a list of hardware and configuration registers to override when switching to standard PA. Used by RF driver only, not radio CPU. More... | |
uint32_t * | pRegOverrideTx20 |
Pointer to a list of hardware and configuration registers to override when switching to 20-dBm PA. Used by RF driver only, not radio CPU. 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 { | |
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... | |
uint16_t __pad0__:1 | |
uint16_t bSynthNarrowBand:1 | |
0: Normal synth mode 1: Narrow-band synth mode More... | |
} | config |
Configuration options. 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 { | |
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... | |
uint16_t __pad0__:1 | |
uint16_t bSynthNarrowBand:1 | |
0: Normal synth mode 1: Narrow-band synth mode More... | |
} | config |
Configuration options. More... | |
uint16_t rfc_CMD_RADIO_SETUP_PA_s::commandNo |
The command ID number.
uint16_t rfc_CMD_RADIO_SETUP_PA_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_RADIO_SETUP_PA_s::pNextOp |
Pointer to the next operation to run after this operation is done.
ratmr_t rfc_CMD_RADIO_SETUP_PA_s::startTime |
Absolute or relative start time (depending on the value of startTrigger
)
uint8_t rfc_CMD_RADIO_SETUP_PA_s::triggerType |
The type of trigger.
uint8_t rfc_CMD_RADIO_SETUP_PA_s::bEnaCmd |
0: No alternative trigger command
1: CMD_TRIGGER can be used as an alternative trigger
uint8_t rfc_CMD_RADIO_SETUP_PA_s::triggerNo |
The trigger number of the CMD_TRIGGER command that triggers this action.
uint8_t rfc_CMD_RADIO_SETUP_PA_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_RADIO_SETUP_PA_s::startTrigger |
Identification of the trigger that starts the operation.
uint8_t rfc_CMD_RADIO_SETUP_PA_s::rule |
Condition for running next command: Rule for how to proceed.
uint8_t rfc_CMD_RADIO_SETUP_PA_s::nSkip |
Number of skips + 1 if the rule involves skipping. 0: same, 1: next, 2: skip next, ...
struct { ... } rfc_CMD_RADIO_SETUP_PA_s::condition |
uint8_t rfc_CMD_RADIO_SETUP_PA_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
uint8_t rfc_CMD_RADIO_SETUP_PA_s::loDivider |
LO divider setting to use. Supported values: 0, 2, 4, 5, 6, 10, 12, 15, and 30.
uint16_t rfc_CMD_RADIO_SETUP_PA_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
uint16_t rfc_CMD_RADIO_SETUP_PA_s::biasMode |
0: Internal bias
1: External bias
uint16_t rfc_CMD_RADIO_SETUP_PA_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
uint16_t rfc_CMD_RADIO_SETUP_PA_s::bNoFsPowerUp |
0: Power up frequency synth
1: Do not power up frequency synth
uint16_t rfc_CMD_RADIO_SETUP_PA_s::__pad0__ |
uint16_t rfc_CMD_RADIO_SETUP_PA_s::bSynthNarrowBand |
0: Normal synth mode
1: Narrow-band synth mode
struct { ... } rfc_CMD_RADIO_SETUP_PA_s::config |
Configuration options.
uint16_t rfc_CMD_RADIO_SETUP_PA_s::txPower |
Transmit power.
uint32_t * rfc_CMD_RADIO_SETUP_PA_s::pRegOverride |
Pointer to a list of hardware and configuration registers to override. If NULL, no override is used.
uint32_t * rfc_CMD_RADIO_SETUP_PA_s::pRegOverrideTxStd |
Pointer to a list of hardware and configuration registers to override when switching to standard PA. Used by RF driver only, not radio CPU.
uint32_t * rfc_CMD_RADIO_SETUP_PA_s::pRegOverrideTx20 |
Pointer to a list of hardware and configuration registers to override when switching to 20-dBm PA. Used by RF driver only, not radio CPU.
struct { ... } rfc_CMD_RADIO_SETUP_PA_s::startTrigger |
Identification of the trigger that starts the operation.
struct { ... } rfc_CMD_RADIO_SETUP_PA_s::condition |
struct { ... } rfc_CMD_RADIO_SETUP_PA_s::config |
Configuration options.
struct { ... } rfc_CMD_RADIO_SETUP_PA_s::startTrigger |
Identification of the trigger that starts the operation.
struct { ... } rfc_CMD_RADIO_SETUP_PA_s::condition |
struct { ... } rfc_CMD_RADIO_SETUP_PA_s::config |
Configuration options.