Proprietary Mode Radio Setup Command for 2.4 GHz (CC1350 Only) More...
#include <rf_prop_cmd.h>
Data Fields | |
uint16_t | commandNo |
The command ID number 0x3806. 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 { | |
uint16_t modType:3 | |
0: FSK 1: GFSK Others: Reserved More... | |
uint16_t deviation:13 | |
Deviation (250 Hz steps) More... | |
} | modulation |
struct { | |
uint32_t preScale:4 | |
Prescaler value. More... | |
uint32_t __pad0__:4 | |
uint32_t rateWord:21 | |
Rate word. More... | |
} | symbolRate |
Symbol rate setting. More... | |
uint8_t | rxBw |
Receiver bandwidth. More... | |
struct { | |
uint8_t nPreamBytes:6 | |
0–30: Number of preamble bytes 31: 4 preamble bits More... | |
uint8_t preamMode:2 | |
0: Send 0 as the first preamble bit 1: Send 1 as the first preamble bit 2: Send same first bit in preamble and sync word 3: Send different first bit in preamble and sync word More... | |
} | preamConf |
struct { | |
uint16_t nSwBits:6 | |
Number of sync word bits (up to 32) More... | |
uint16_t bBitReversal:1 | |
0: Use positive deviation for 1 1: Use positive deviation for 0 More... | |
uint16_t bMsbFirst:1 | |
0: Least significant bit transmitted first 1: Most significant bit transmitted first More... | |
uint16_t fecMode:4 | |
Select coding 0: Uncoded binary modulation 10: Manchester coded binary modulation Others: Reserved More... | |
uint16_t __pad0__:1 | |
uint16_t whitenMode:3 | |
0: No whitening 1: CC1101/CC2500 compatible whitening 2: PN9 whitening without byte reversal 3: Reserved 4: No whitener, 32-bit IEEE 802.15.4g compatible CRC 5: IEEE 802.15.4g compatible whitener and 32-bit CRC 6: No whitener, dynamically IEEE 802.15.4g compatible 16-bit or 32-bit CRC 7: Dynamically IEEE 802.15.4g compatible whitener and 16-bit or 32-bit CRC More... | |
} | formatConf |
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... | |
Proprietary Mode Radio Setup Command for 2.4 GHz (CC1350 Only)
Definition at line 449 of file rf_prop_cmd.h.
uint32_t rfc_CMD_PROP_RADIO_SETUP_s::__pad0__ |
Definition at line 476 of file rf_prop_cmd.h.
uint16_t rfc_CMD_PROP_RADIO_SETUP_s::__pad0__ |
Definition at line 498 of file rf_prop_cmd.h.
uint16_t rfc_CMD_PROP_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 517 of file rf_prop_cmd.h.
uint16_t rfc_CMD_PROP_RADIO_SETUP_s::bBitReversal |
0: Use positive deviation for 1
1: Use positive deviation for 0
Definition at line 490 of file rf_prop_cmd.h.
uint8_t rfc_CMD_PROP_RADIO_SETUP_s::bEnaCmd |
0: No alternative trigger command
1: CMD_TRIGGER can be used as an alternative trigger
Definition at line 458 of file rf_prop_cmd.h.
uint16_t rfc_CMD_PROP_RADIO_SETUP_s::biasMode |
0: Internal bias
1: External bias
Definition at line 515 of file rf_prop_cmd.h.
uint16_t rfc_CMD_PROP_RADIO_SETUP_s::bMsbFirst |
0: Least significant bit transmitted first
1: Most significant bit transmitted first
Definition at line 492 of file rf_prop_cmd.h.
uint16_t rfc_CMD_PROP_RADIO_SETUP_s::bNoFsPowerUp |
0: Power up frequency synth
1: Do not power up frequency synth
Definition at line 524 of file rf_prop_cmd.h.
uint16_t rfc_CMD_PROP_RADIO_SETUP_s::commandNo |
The command ID number 0x3806.
Definition at line 450 of file rf_prop_cmd.h.
struct { ... } rfc_CMD_PROP_RADIO_SETUP_s::condition |
struct { ... } rfc_CMD_PROP_RADIO_SETUP_s::config |
Configuration options.
uint16_t rfc_CMD_PROP_RADIO_SETUP_s::deviation |
Deviation (250 Hz steps)
Definition at line 472 of file rf_prop_cmd.h.
uint16_t rfc_CMD_PROP_RADIO_SETUP_s::fecMode |
Select coding
0: Uncoded binary modulation
10: Manchester coded binary modulation
Others: Reserved
Definition at line 494 of file rf_prop_cmd.h.
struct { ... } rfc_CMD_PROP_RADIO_SETUP_s::formatConf |
uint16_t rfc_CMD_PROP_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 509 of file rf_prop_cmd.h.
uint16_t rfc_CMD_PROP_RADIO_SETUP_s::modType |
0: FSK
1: GFSK
Others: Reserved
Definition at line 469 of file rf_prop_cmd.h.
struct { ... } rfc_CMD_PROP_RADIO_SETUP_s::modulation |
uint8_t rfc_CMD_PROP_RADIO_SETUP_s::nPreamBytes |
0–30: Number of preamble bytes
31: 4 preamble bits
Definition at line 481 of file rf_prop_cmd.h.
uint8_t rfc_CMD_PROP_RADIO_SETUP_s::nSkip |
Number of skips + 1 if the rule involves skipping. 0: same, 1: next, 2: skip next, ...
Definition at line 466 of file rf_prop_cmd.h.
uint16_t rfc_CMD_PROP_RADIO_SETUP_s::nSwBits |
Number of sync word bits (up to 32)
Definition at line 489 of file rf_prop_cmd.h.
uint8_t rfc_CMD_PROP_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 461 of file rf_prop_cmd.h.
rfc_radioOp_t* rfc_CMD_PROP_RADIO_SETUP_s::pNextOp |
Pointer to the next operation to run after this operation is done.
Definition at line 454 of file rf_prop_cmd.h.
struct { ... } rfc_CMD_PROP_RADIO_SETUP_s::preamConf |
uint8_t rfc_CMD_PROP_RADIO_SETUP_s::preamMode |
0: Send 0 as the first preamble bit
1: Send 1 as the first preamble bit
2: Send same first bit in preamble and sync word
3: Send different first bit in preamble and sync word
Definition at line 483 of file rf_prop_cmd.h.
uint32_t* rfc_CMD_PROP_RADIO_SETUP_s::pRegOverride |
Pointer to a list of hardware and configuration registers to override. If NULL, no override is used.
Definition at line 528 of file rf_prop_cmd.h.
uint32_t rfc_CMD_PROP_RADIO_SETUP_s::preScale |
Prescaler value.
Definition at line 475 of file rf_prop_cmd.h.
uint32_t rfc_CMD_PROP_RADIO_SETUP_s::rateWord |
Rate word.
Definition at line 477 of file rf_prop_cmd.h.
uint8_t rfc_CMD_PROP_RADIO_SETUP_s::rule |
Condition for running next command: Rule for how to proceed.
Definition at line 465 of file rf_prop_cmd.h.
uint8_t rfc_CMD_PROP_RADIO_SETUP_s::rxBw |
Receiver bandwidth.
Definition at line 479 of file rf_prop_cmd.h.
ratmr_t rfc_CMD_PROP_RADIO_SETUP_s::startTime |
Absolute or relative start time (depending on the value of startTrigger
)
Definition at line 455 of file rf_prop_cmd.h.
struct { ... } rfc_CMD_PROP_RADIO_SETUP_s::startTrigger |
Identification of the trigger that starts the operation.
uint16_t rfc_CMD_PROP_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 451 of file rf_prop_cmd.h.
struct { ... } rfc_CMD_PROP_RADIO_SETUP_s::symbolRate |
Symbol rate setting.
uint8_t rfc_CMD_PROP_RADIO_SETUP_s::triggerNo |
The trigger number of the CMD_TRIGGER command that triggers this action.
Definition at line 460 of file rf_prop_cmd.h.
uint8_t rfc_CMD_PROP_RADIO_SETUP_s::triggerType |
The type of trigger.
Definition at line 457 of file rf_prop_cmd.h.
uint16_t rfc_CMD_PROP_RADIO_SETUP_s::txPower |
Transmit power.
Definition at line 527 of file rf_prop_cmd.h.
uint16_t rfc_CMD_PROP_RADIO_SETUP_s::whitenMode |
0: No whitening
1: CC1101/CC2500 compatible whitening
2: PN9 whitening without byte reversal
3: Reserved
4: No whitener, 32-bit IEEE 802.15.4g compatible CRC
5: IEEE 802.15.4g compatible whitener and 32-bit CRC
6: No whitener, dynamically IEEE 802.15.4g compatible 16-bit or 32-bit CRC
7: Dynamically IEEE 802.15.4g compatible whitener and 16-bit or 32-bit CRC
Definition at line 499 of file rf_prop_cmd.h.