CC13xx Driver Library
rfc_CMD_TX_s Struct Reference

#include <rf_common_cmd.h>

Data Fields

uint16_t commandNo
 The command ID number 0x0806. 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_tpNextOp
 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 if the rule involves skipping. More...
 
condition
 
struct {
   uint16_t   endianness:1
 0: Least significant bit first
1: Most significant bit first More...
 
   uint16_t   numHdrBits:6
 Number of bits in the header. More...
 
   uint16_t   bFsOff:1
 0: Keep frequency synth on after command
1: Turn frequency synth off after command More...
 
   uint16_t   bUseCrc:1
 0: No CRC
1: Append a CRC to the packet More...
 
   uint16_t   bCrcIncSw:1
 0: Do not include sync word in CRC calculation
1: Include sync word in CRC calculation More...
 
   uint16_t   bCrcIncHdr:1
 0: Do not include header in CRC calculation
1: Include header in CRC calculation More...
 
pktConfig
 
uint32_t syncWord
 Sync word to transmit. More...
 
uint8_t * pTxPkt
 Pointer to buffer for transmitted packet. More...
 
uint16_t pktLen
 Number of bytes in the transmitted packet. More...
 

Detailed Description

Definition at line 358 of file rf_common_cmd.h.

Field Documentation

uint16_t rfc_CMD_TX_s::bCrcIncHdr

0: Do not include header in CRC calculation
1: Include header in CRC calculation

Definition at line 387 of file rf_common_cmd.h.

uint16_t rfc_CMD_TX_s::bCrcIncSw

0: Do not include sync word in CRC calculation
1: Include sync word in CRC calculation

Definition at line 385 of file rf_common_cmd.h.

uint8_t rfc_CMD_TX_s::bEnaCmd

0: No alternative trigger command
1: CMD_TRIGGER can be used as an alternative trigger

Definition at line 367 of file rf_common_cmd.h.

uint16_t rfc_CMD_TX_s::bFsOff

0: Keep frequency synth on after command
1: Turn frequency synth off after command

Definition at line 381 of file rf_common_cmd.h.

uint16_t rfc_CMD_TX_s::bUseCrc

0: No CRC
1: Append a CRC to the packet

Definition at line 383 of file rf_common_cmd.h.

uint16_t rfc_CMD_TX_s::commandNo

The command ID number 0x0806.

Definition at line 359 of file rf_common_cmd.h.

struct { ... } rfc_CMD_TX_s::condition
uint16_t rfc_CMD_TX_s::endianness

0: Least significant bit first
1: Most significant bit first

Definition at line 378 of file rf_common_cmd.h.

uint8_t rfc_CMD_TX_s::nSkip

Number of skips if the rule involves skipping.

Definition at line 375 of file rf_common_cmd.h.

uint16_t rfc_CMD_TX_s::numHdrBits

Number of bits in the header.

Definition at line 380 of file rf_common_cmd.h.

uint8_t rfc_CMD_TX_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 370 of file rf_common_cmd.h.

struct { ... } rfc_CMD_TX_s::pktConfig
uint16_t rfc_CMD_TX_s::pktLen

Number of bytes in the transmitted packet.

Definition at line 392 of file rf_common_cmd.h.

rfc_radioOp_t* rfc_CMD_TX_s::pNextOp

Pointer to the next operation to run after this operation is done.

Definition at line 363 of file rf_common_cmd.h.

uint8_t* rfc_CMD_TX_s::pTxPkt

Pointer to buffer for transmitted packet.

Definition at line 391 of file rf_common_cmd.h.

uint8_t rfc_CMD_TX_s::rule

Condition for running next command: Rule for how to proceed.

Definition at line 374 of file rf_common_cmd.h.

ratmr_t rfc_CMD_TX_s::startTime

Absolute or relative start time (depending on the value of startTrigger)

Definition at line 364 of file rf_common_cmd.h.

struct { ... } rfc_CMD_TX_s::startTrigger

Identification of the trigger that starts the operation.

uint16_t rfc_CMD_TX_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 360 of file rf_common_cmd.h.

uint32_t rfc_CMD_TX_s::syncWord

Sync word to transmit.

Definition at line 390 of file rf_common_cmd.h.

uint8_t rfc_CMD_TX_s::triggerNo

The trigger number of the CMD_TRIGGER command that triggers this action.

Definition at line 369 of file rf_common_cmd.h.

uint8_t rfc_CMD_TX_s::triggerType

The type of trigger.

Definition at line 366 of file rf_common_cmd.h.