![]()  | 
  ![]()  | 
| 
    rflib
    
   | 
 
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_t * | pNextOp | 
| 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_t * | pNextOpIfOk | 
| Pointer to next operation if counter did not expire.  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 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 | 
Counter Command with Branch of Command Chain.
| uint16_t rfc_CMD_COUNT_BRANCH_s::commandNo | 
The command ID number 0x0812.
| 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.
| rfc_radioOp_t * rfc_CMD_COUNT_BRANCH_s::pNextOp | 
Pointer to the next operation to run after this operation is done.
| ratmr_t rfc_CMD_COUNT_BRANCH_s::startTime | 
Absolute or relative start time (depending on the value of startTrigger) 
| uint8_t rfc_CMD_COUNT_BRANCH_s::triggerType | 
The type of trigger.
| uint8_t rfc_CMD_COUNT_BRANCH_s::bEnaCmd | 
0: No alternative trigger command
 1: CMD_TRIGGER can be used as an alternative trigger 
| uint8_t rfc_CMD_COUNT_BRANCH_s::triggerNo | 
The trigger number of the CMD_TRIGGER command that triggers this action.
| 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 
| struct { ... } rfc_CMD_COUNT_BRANCH_s::startTrigger | 
Identification of the trigger that starts the operation.
| uint8_t rfc_CMD_COUNT_BRANCH_s::rule | 
Condition for running next command: Rule for how to proceed.
| uint8_t rfc_CMD_COUNT_BRANCH_s::nSkip | 
Number of skips + 1 if the rule involves skipping. 0: same, 1: next, 2: skip next, ...
| 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.
| rfc_radioOp_t * rfc_CMD_COUNT_BRANCH_s::pNextOpIfOk | 
Pointer to next operation if counter did not expire.
| struct { ... } rfc_CMD_COUNT_BRANCH_s::startTrigger | 
Identification of the trigger that starts the operation.
| struct { ... } rfc_CMD_COUNT_BRANCH_s::condition | 
| struct { ... } rfc_CMD_COUNT_BRANCH_s::startTrigger | 
Identification of the trigger that starts the operation.
| struct { ... } rfc_CMD_COUNT_BRANCH_s::condition |