Proprietary Mode Radio Setup Command for All Frequency Bands. More...
#include <rf_prop_cmd.h>
Data Fields | |
uint16_t | commandNo |
Proprietary Mode Radio Setup Command for 2.4 GHz (CC1350 Only) The command ID number 0x3807. 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... | |
uint16_t | centerFreq |
Center frequency of the frequency band used, in MHz; used for calculating some internal TX and RX parameters. For a single channel RF system, this should be set equal to the RF frequency used. For a multi channel RF system (e.g. frequency hopping spread spectrum), this should be set equal to the center frequency of the frequency band used. More... | |
int16_t | intFreq |
Intermediate frequency to use for RX, in MHz on 4.12 signed format. TX will use same intermediate frequency if supported, otherwise 0. 0x8000: Use default. More... | |
uint8_t | loDivider |
LO frequency divider setting to use. Supported values: 2 (CC1350 only), 5, 6, 10, 12, 15, and 30. More... | |
Proprietary Mode Radio Setup Command for All Frequency Bands.
Definition at line 538 of file rf_prop_cmd.h.
uint32_t rfc_CMD_PROP_RADIO_DIV_SETUP_s::__pad0__ |
Definition at line 566 of file rf_prop_cmd.h.
uint16_t rfc_CMD_PROP_RADIO_DIV_SETUP_s::__pad0__ |
Definition at line 588 of file rf_prop_cmd.h.
uint16_t rfc_CMD_PROP_RADIO_DIV_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 607 of file rf_prop_cmd.h.
uint16_t rfc_CMD_PROP_RADIO_DIV_SETUP_s::bBitReversal |
0: Use positive deviation for 1
1: Use positive deviation for 0
Definition at line 580 of file rf_prop_cmd.h.
uint8_t rfc_CMD_PROP_RADIO_DIV_SETUP_s::bEnaCmd |
0: No alternative trigger command
1: CMD_TRIGGER can be used as an alternative trigger
Definition at line 548 of file rf_prop_cmd.h.
uint16_t rfc_CMD_PROP_RADIO_DIV_SETUP_s::biasMode |
0: Internal bias
1: External bias
Definition at line 605 of file rf_prop_cmd.h.
uint16_t rfc_CMD_PROP_RADIO_DIV_SETUP_s::bMsbFirst |
0: Least significant bit transmitted first
1: Most significant bit transmitted first
Definition at line 582 of file rf_prop_cmd.h.
uint16_t rfc_CMD_PROP_RADIO_DIV_SETUP_s::bNoFsPowerUp |
0: Power up frequency synth
1: Do not power up frequency synth
Definition at line 614 of file rf_prop_cmd.h.
uint16_t rfc_CMD_PROP_RADIO_DIV_SETUP_s::centerFreq |
Center frequency of the frequency band used, in MHz; used for calculating some internal TX and RX parameters. For a single channel RF system, this should be set equal to the RF frequency used. For a multi channel RF system (e.g. frequency hopping spread spectrum), this should be set equal to the center frequency of the frequency band used.
Definition at line 620 of file rf_prop_cmd.h.
uint16_t rfc_CMD_PROP_RADIO_DIV_SETUP_s::commandNo |
Proprietary Mode Radio Setup Command for 2.4 GHz (CC1350 Only) The command ID number 0x3807.
Definition at line 539 of file rf_prop_cmd.h.
struct { ... } rfc_CMD_PROP_RADIO_DIV_SETUP_s::condition |
struct { ... } rfc_CMD_PROP_RADIO_DIV_SETUP_s::config |
Configuration options.
uint16_t rfc_CMD_PROP_RADIO_DIV_SETUP_s::deviation |
Deviation (250 Hz steps)
Definition at line 562 of file rf_prop_cmd.h.
uint16_t rfc_CMD_PROP_RADIO_DIV_SETUP_s::fecMode |
Select coding
0: Uncoded binary modulation
10: Manchester coded binary modulation
Others: Reserved
Definition at line 584 of file rf_prop_cmd.h.
struct { ... } rfc_CMD_PROP_RADIO_DIV_SETUP_s::formatConf |
uint16_t rfc_CMD_PROP_RADIO_DIV_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 599 of file rf_prop_cmd.h.
int16_t rfc_CMD_PROP_RADIO_DIV_SETUP_s::intFreq |
Intermediate frequency to use for RX, in MHz on 4.12 signed format. TX will use same intermediate frequency if supported, otherwise 0.
0x8000: Use default.
Definition at line 624 of file rf_prop_cmd.h.
uint8_t rfc_CMD_PROP_RADIO_DIV_SETUP_s::loDivider |
LO frequency divider setting to use. Supported values: 2 (CC1350 only), 5, 6, 10, 12, 15, and 30.
Definition at line 627 of file rf_prop_cmd.h.
uint16_t rfc_CMD_PROP_RADIO_DIV_SETUP_s::modType |
0: FSK
1: GFSK
Others: Reserved
Definition at line 559 of file rf_prop_cmd.h.
struct { ... } rfc_CMD_PROP_RADIO_DIV_SETUP_s::modulation |
uint8_t rfc_CMD_PROP_RADIO_DIV_SETUP_s::nPreamBytes |
0–30: Number of preamble bytes
31: 4 preamble bits
Definition at line 571 of file rf_prop_cmd.h.
uint8_t rfc_CMD_PROP_RADIO_DIV_SETUP_s::nSkip |
Number of skips + 1 if the rule involves skipping. 0: same, 1: next, 2: skip next, ...
Definition at line 556 of file rf_prop_cmd.h.
uint16_t rfc_CMD_PROP_RADIO_DIV_SETUP_s::nSwBits |
Number of sync word bits (up to 32)
Definition at line 579 of file rf_prop_cmd.h.
uint8_t rfc_CMD_PROP_RADIO_DIV_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 551 of file rf_prop_cmd.h.
rfc_radioOp_t* rfc_CMD_PROP_RADIO_DIV_SETUP_s::pNextOp |
Pointer to the next operation to run after this operation is done.
Definition at line 544 of file rf_prop_cmd.h.
struct { ... } rfc_CMD_PROP_RADIO_DIV_SETUP_s::preamConf |
uint8_t rfc_CMD_PROP_RADIO_DIV_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 573 of file rf_prop_cmd.h.
uint32_t* rfc_CMD_PROP_RADIO_DIV_SETUP_s::pRegOverride |
Pointer to a list of hardware and configuration registers to override. If NULL, no override is used.
Definition at line 618 of file rf_prop_cmd.h.
uint32_t rfc_CMD_PROP_RADIO_DIV_SETUP_s::preScale |
Prescaler value.
Definition at line 565 of file rf_prop_cmd.h.
uint32_t rfc_CMD_PROP_RADIO_DIV_SETUP_s::rateWord |
Rate word.
Definition at line 567 of file rf_prop_cmd.h.
uint8_t rfc_CMD_PROP_RADIO_DIV_SETUP_s::rule |
Condition for running next command: Rule for how to proceed.
Definition at line 555 of file rf_prop_cmd.h.
uint8_t rfc_CMD_PROP_RADIO_DIV_SETUP_s::rxBw |
Receiver bandwidth.
Definition at line 569 of file rf_prop_cmd.h.
ratmr_t rfc_CMD_PROP_RADIO_DIV_SETUP_s::startTime |
Absolute or relative start time (depending on the value of startTrigger
)
Definition at line 545 of file rf_prop_cmd.h.
struct { ... } rfc_CMD_PROP_RADIO_DIV_SETUP_s::startTrigger |
Identification of the trigger that starts the operation.
uint16_t rfc_CMD_PROP_RADIO_DIV_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 541 of file rf_prop_cmd.h.
struct { ... } rfc_CMD_PROP_RADIO_DIV_SETUP_s::symbolRate |
Symbol rate setting.
uint8_t rfc_CMD_PROP_RADIO_DIV_SETUP_s::triggerNo |
The trigger number of the CMD_TRIGGER command that triggers this action.
Definition at line 550 of file rf_prop_cmd.h.
uint8_t rfc_CMD_PROP_RADIO_DIV_SETUP_s::triggerType |
The type of trigger.
Definition at line 547 of file rf_prop_cmd.h.
uint16_t rfc_CMD_PROP_RADIO_DIV_SETUP_s::txPower |
Transmit power.
Definition at line 617 of file rf_prop_cmd.h.
uint16_t rfc_CMD_PROP_RADIO_DIV_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 589 of file rf_prop_cmd.h.