CC13xx Driver Library
rfc_CMD_HS_RX_s Struct Reference

High-Speed Receive Command. More...

#include <rf_hs_cmd.h>

Data Fields

uint16_t commandNo
 The command ID number 0x3842. 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 + 1 if the rule involves skipping. 0: same, 1: next, 2: skip next, ... More...
 
condition
 
struct {
   uint8_t   bFsOff:1
 0: Keep frequency synth on after command
1: Turn frequency synth off after command More...
 
   uint8_t   bUseCrc:1
 0: Do not receive or check CRC
1: Receive and check CRC More...
 
   uint8_t   bVarLen:1
 0: Fixed length
1: Receive length as first byte More...
 
   uint8_t   bRepeatOk:1
 0: End operation after receiving a packet correctly
1: Go back to sync search after receiving a packet correctly More...
 
   uint8_t   bRepeatNok:1
 0: End operation after receiving a packet with CRC error
1: Go back to sync search after receiving a packet with CRC error More...
 
   uint8_t   addressMode:2
 0: No address check
1: Accept address0 and address1
2: Accept address0, address1, and 0x0000
3: Accept address0, address1, 0x0000, and 0xFFFF More...
 
pktConf
 
struct {
   uint8_t   bAutoFlushCrcErr:1
 If 1, automatically remove packets with CRC error from Rx queue. More...
 
   uint8_t   bIncludeLen:1
 If 1, include the received length field in the stored packet; otherwise discard it. More...
 
   uint8_t   bIncludeCrc:1
 If 1, include the received CRC field in the stored packet; otherwise 3scard it. More...
 
   uint8_t   bAppendStatus:1
 If 1, append a status word to the packet in the Rx queue. More...
 
   uint8_t   bAppendTimestamp:1
 If 1, append a timestamp to the packet in the Rx queue. More...
 
rxConf
 
uint16_t maxPktLen
 Packet length for fixed length; maximum packet length for variable length. More...
 
uint16_t address0
 Address. More...
 
uint16_t address1
 Address (set equal to address0 to accept only one address) More...
 
uint8_t __dummy0
 
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...
 
endTrigger
 Trigger classifier for ending the operation. More...
 
ratmr_t endTime
 Time used together with endTrigger for ending the operation. More...
 
dataQueue_tpQueue
 Pointer to receive queue. More...
 
rfc_hsRxOutput_tpOutput
 Pointer to output structure. More...
 

Detailed Description

High-Speed Receive Command.

Definition at line 108 of file rf_hs_cmd.h.

Field Documentation

uint8_t rfc_CMD_HS_RX_s::__dummy0

Definition at line 153 of file rf_hs_cmd.h.

uint16_t rfc_CMD_HS_RX_s::address0

Address.

Definition at line 151 of file rf_hs_cmd.h.

uint16_t rfc_CMD_HS_RX_s::address1

Address (set equal to address0 to accept only one address)

Definition at line 152 of file rf_hs_cmd.h.

uint8_t rfc_CMD_HS_RX_s::addressMode

0: No address check
1: Accept address0 and address1
2: Accept address0, address1, and 0x0000
3: Accept address0, address1, 0x0000, and 0xFFFF

Definition at line 138 of file rf_hs_cmd.h.

uint8_t rfc_CMD_HS_RX_s::bAppendStatus

If 1, append a status word to the packet in the Rx queue.

Definition at line 147 of file rf_hs_cmd.h.

uint8_t rfc_CMD_HS_RX_s::bAppendTimestamp

If 1, append a timestamp to the packet in the Rx queue.

Definition at line 148 of file rf_hs_cmd.h.

uint8_t rfc_CMD_HS_RX_s::bAutoFlushCrcErr

If 1, automatically remove packets with CRC error from Rx queue.

Definition at line 144 of file rf_hs_cmd.h.

uint8_t rfc_CMD_HS_RX_s::bEnaCmd

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

Definition at line 117 of file rf_hs_cmd.h.

uint8_t rfc_CMD_HS_RX_s::bFsOff

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

Definition at line 128 of file rf_hs_cmd.h.

uint8_t rfc_CMD_HS_RX_s::bIncludeCrc

If 1, include the received CRC field in the stored packet; otherwise 3scard it.

Definition at line 146 of file rf_hs_cmd.h.

uint8_t rfc_CMD_HS_RX_s::bIncludeLen

If 1, include the received length field in the stored packet; otherwise discard it.

Definition at line 145 of file rf_hs_cmd.h.

uint8_t rfc_CMD_HS_RX_s::bRepeatNok

0: End operation after receiving a packet with CRC error
1: Go back to sync search after receiving a packet with CRC error

Definition at line 136 of file rf_hs_cmd.h.

uint8_t rfc_CMD_HS_RX_s::bRepeatOk

0: End operation after receiving a packet correctly
1: Go back to sync search after receiving a packet correctly

Definition at line 134 of file rf_hs_cmd.h.

uint8_t rfc_CMD_HS_RX_s::bUseCrc

0: Do not receive or check CRC
1: Receive and check CRC

Definition at line 130 of file rf_hs_cmd.h.

uint8_t rfc_CMD_HS_RX_s::bVarLen

0: Fixed length
1: Receive length as first byte

Definition at line 132 of file rf_hs_cmd.h.

uint16_t rfc_CMD_HS_RX_s::commandNo

The command ID number 0x3842.

Definition at line 109 of file rf_hs_cmd.h.

struct { ... } rfc_CMD_HS_RX_s::condition
ratmr_t rfc_CMD_HS_RX_s::endTime

Time used together with endTrigger for ending the operation.

Definition at line 162 of file rf_hs_cmd.h.

struct { ... } rfc_CMD_HS_RX_s::endTrigger

Trigger classifier for ending the operation.

uint16_t rfc_CMD_HS_RX_s::maxPktLen

Packet length for fixed length; maximum packet length for variable length.

Definition at line 150 of file rf_hs_cmd.h.

uint8_t rfc_CMD_HS_RX_s::nSkip

Number of skips + 1 if the rule involves skipping. 0: same, 1: next, 2: skip next, ...

Definition at line 125 of file rf_hs_cmd.h.

uint8_t rfc_CMD_HS_RX_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 120 of file rf_hs_cmd.h.

struct { ... } rfc_CMD_HS_RX_s::pktConf
rfc_radioOp_t* rfc_CMD_HS_RX_s::pNextOp

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

Definition at line 113 of file rf_hs_cmd.h.

rfc_hsRxOutput_t* rfc_CMD_HS_RX_s::pOutput

Pointer to output structure.

Definition at line 164 of file rf_hs_cmd.h.

dataQueue_t* rfc_CMD_HS_RX_s::pQueue

Pointer to receive queue.

Definition at line 163 of file rf_hs_cmd.h.

uint8_t rfc_CMD_HS_RX_s::rule

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

Definition at line 124 of file rf_hs_cmd.h.

struct { ... } rfc_CMD_HS_RX_s::rxConf
ratmr_t rfc_CMD_HS_RX_s::startTime

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

Definition at line 114 of file rf_hs_cmd.h.

struct { ... } rfc_CMD_HS_RX_s::startTrigger

Identification of the trigger that starts the operation.

uint16_t rfc_CMD_HS_RX_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 110 of file rf_hs_cmd.h.

uint8_t rfc_CMD_HS_RX_s::triggerNo

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

Definition at line 119 of file rf_hs_cmd.h.

uint8_t rfc_CMD_HS_RX_s::triggerType

The type of trigger.

Definition at line 116 of file rf_hs_cmd.h.