CC13xx Driver Library
rfc_CMD_COUNT_s Struct Reference

Counter Command. More...

#include <rf_common_cmd.h>

Data Fields

uint16_t commandNo
 The command ID number 0x080B. 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
 
uint16_t counter
 Counter. On start, the radio CPU decrements the value, and the end status of the operation differs if the result is zero. More...
 

Detailed Description

Counter Command.

Definition at line 445 of file rf_common_cmd.h.

Field Documentation

uint8_t rfc_CMD_COUNT_s::bEnaCmd

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

Definition at line 454 of file rf_common_cmd.h.

uint16_t rfc_CMD_COUNT_s::commandNo

The command ID number 0x080B.

Definition at line 446 of file rf_common_cmd.h.

struct { ... } rfc_CMD_COUNT_s::condition
uint16_t rfc_CMD_COUNT_s::counter

Counter. On start, the radio CPU decrements the value, and the end status of the operation differs if the result is zero.

Definition at line 464 of file rf_common_cmd.h.

uint8_t rfc_CMD_COUNT_s::nSkip

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

Definition at line 462 of file rf_common_cmd.h.

uint8_t rfc_CMD_COUNT_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 457 of file rf_common_cmd.h.

rfc_radioOp_t* rfc_CMD_COUNT_s::pNextOp

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

Definition at line 450 of file rf_common_cmd.h.

uint8_t rfc_CMD_COUNT_s::rule

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

Definition at line 461 of file rf_common_cmd.h.

ratmr_t rfc_CMD_COUNT_s::startTime

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

Definition at line 451 of file rf_common_cmd.h.

struct { ... } rfc_CMD_COUNT_s::startTrigger

Identification of the trigger that starts the operation.

uint16_t rfc_CMD_COUNT_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 447 of file rf_common_cmd.h.

uint8_t rfc_CMD_COUNT_s::triggerNo

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

Definition at line 456 of file rf_common_cmd.h.

uint8_t rfc_CMD_COUNT_s::triggerType

The type of trigger.

Definition at line 453 of file rf_common_cmd.h.