CC13xx Driver Library
rfc_CMD_COUNT_BRANCH_s Struct Reference

Counter Command with Branch of Command Chain. More...

#include <rf_common_cmd.h>

Data Fields

uint16_t commandNo
 The command ID number 0x0812. 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...
 
rfc_radioOp_tpNextOpIfOk
 Pointer to next operation if counter did not expire. More...
 

Detailed Description

Counter Command with Branch of Command Chain.

Definition at line 560 of file rf_common_cmd.h.

Field Documentation

uint8_t rfc_CMD_COUNT_BRANCH_s::bEnaCmd

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

Definition at line 569 of file rf_common_cmd.h.

uint16_t rfc_CMD_COUNT_BRANCH_s::commandNo

The command ID number 0x0812.

Definition at line 561 of file rf_common_cmd.h.

struct { ... } rfc_CMD_COUNT_BRANCH_s::condition
uint16_t rfc_CMD_COUNT_BRANCH_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 579 of file rf_common_cmd.h.

uint8_t rfc_CMD_COUNT_BRANCH_s::nSkip

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

Definition at line 577 of file rf_common_cmd.h.

uint8_t rfc_CMD_COUNT_BRANCH_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 572 of file rf_common_cmd.h.

rfc_radioOp_t* rfc_CMD_COUNT_BRANCH_s::pNextOp

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

Definition at line 565 of file rf_common_cmd.h.

rfc_radioOp_t* rfc_CMD_COUNT_BRANCH_s::pNextOpIfOk

Pointer to next operation if counter did not expire.

Definition at line 581 of file rf_common_cmd.h.

uint8_t rfc_CMD_COUNT_BRANCH_s::rule

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

Definition at line 576 of file rf_common_cmd.h.

ratmr_t rfc_CMD_COUNT_BRANCH_s::startTime

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

Definition at line 566 of file rf_common_cmd.h.

struct { ... } rfc_CMD_COUNT_BRANCH_s::startTrigger

Identification of the trigger that starts the operation.

uint16_t rfc_CMD_COUNT_BRANCH_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 562 of file rf_common_cmd.h.

uint8_t rfc_CMD_COUNT_BRANCH_s::triggerNo

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

Definition at line 571 of file rf_common_cmd.h.

uint8_t rfc_CMD_COUNT_BRANCH_s::triggerType

The type of trigger.

Definition at line 568 of file rf_common_cmd.h.