CC13xx Driver Library
rfc_carrierSense_s Struct Reference

#include <rf_prop_cmd.h>

Data Fields

struct {
   uint8_t   bEnaRssi:1
 If 1, enable RSSI as a criterion. More...
 
   uint8_t   bEnaCorr:1
 If 1, enable correlation as a criterion. More...
 
   uint8_t   operation:1
 0: Busy if either RSSI or correlation indicates Busy
1: Busy if both RSSI and correlation indicates Busy More...
 
   uint8_t   busyOp:1
 0: Continue carrier sense on channel Busy
1: End carrier sense on channel Busy
For an RX command, the receiver will continue when carrier sense ends, but it will then not end if channel goes Idle More...
 
   uint8_t   idleOp:1
 0: Continue on channel Idle
1: End on channel Idle More...
 
   uint8_t   timeoutRes:1
 0: Timeout with channel state Invalid treated as Busy
1: Timeout with channel state Invalid treated as Idle More...
 
csConf
 
int8_t rssiThr
 RSSI threshold. More...
 
uint8_t numRssiIdle
 Number of consecutive RSSI measurements below the threshold needed before the channel is declared Idle. More...
 
uint8_t numRssiBusy
 Number of consecutive RSSI measurements above the threshold needed before the channel is declared Busy. More...
 
uint16_t corrPeriod
 Number of RAT ticks for a correlation observation periods. More...
 
struct {
   uint8_t   numCorrInv:4
 Number of subsequent correlation tops with maximum corrPeriod RAT ticks between them needed to go from Idle to Invalid. More...
 
   uint8_t   numCorrBusy:4
 Number of subsequent correlation tops with maximum corrPeriod RAT ticks between them needed to go from Invalid to Busy. More...
 
corrConfig
 
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...
 
csEndTrigger
 Trigger classifier for ending the carrier sense. More...
 
ratmr_t csEndTime
 Time used together with csEndTrigger for ending the operation. More...
 

Field Documentation

uint8_t rfc_carrierSense_s::bEnaCmd

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

uint8_t rfc_carrierSense_s::bEnaCorr

If 1, enable correlation as a criterion.

uint8_t rfc_carrierSense_s::bEnaRssi

If 1, enable RSSI as a criterion.

uint8_t rfc_carrierSense_s::busyOp

0: Continue carrier sense on channel Busy
1: End carrier sense on channel Busy
For an RX command, the receiver will continue when carrier sense ends, but it will then not end if channel goes Idle

struct { ... } rfc_carrierSense_s::corrConfig
uint16_t rfc_carrierSense_s::corrPeriod

Number of RAT ticks for a correlation observation periods.

struct { ... } rfc_carrierSense_s::csConf
ratmr_t rfc_carrierSense_s::csEndTime

Time used together with csEndTrigger for ending the operation.

struct { ... } rfc_carrierSense_s::csEndTrigger

Trigger classifier for ending the carrier sense.

uint8_t rfc_carrierSense_s::idleOp

0: Continue on channel Idle
1: End on channel Idle

uint8_t rfc_carrierSense_s::numCorrBusy

Number of subsequent correlation tops with maximum corrPeriod RAT ticks between them needed to go from Invalid to Busy.

uint8_t rfc_carrierSense_s::numCorrInv

Number of subsequent correlation tops with maximum corrPeriod RAT ticks between them needed to go from Idle to Invalid.

uint8_t rfc_carrierSense_s::numRssiBusy

Number of consecutive RSSI measurements above the threshold needed before the channel is declared Busy.

uint8_t rfc_carrierSense_s::numRssiIdle

Number of consecutive RSSI measurements below the threshold needed before the channel is declared Idle.

uint8_t rfc_carrierSense_s::operation

0: Busy if either RSSI or correlation indicates Busy
1: Busy if both RSSI and correlation indicates Busy

uint8_t rfc_carrierSense_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

int8_t rfc_carrierSense_s::rssiThr

RSSI threshold.

uint8_t rfc_carrierSense_s::timeoutRes

0: Timeout with channel state Invalid treated as Busy
1: Timeout with channel state Invalid treated as Idle

uint8_t rfc_carrierSense_s::triggerNo

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

uint8_t rfc_carrierSense_s::triggerType

The type of trigger.