Download Print this page

Texas Instruments SimpleLink CC2620 Technical Reference Manual page 1502

Zigbee rf4ce wireless mcu simplelink cc13 series; simplelink cc26 series

Advertisement

RF Core HAL
Condition
Immediate command ended with the result DONE
There was an error in the execution of the command, giving a CMDSTA result not listed in
the following table row.
There was an error in the command, giving one of the following results:
• SchedulingError
• UnknownCommand
• UnknownDirCommand
• IllegalPointer
• ParError.
23.3.3.1.13 CMD_COUNT_BRANCH: Counter Command With Branch of Command Chain
Command ID number: 0x0812
CMD_COUNT_BRANCH is a radio operation command. In addition to the parameters listed in
the command structure contains the fields listed in
Byte Index Field Name
14–15
counter
16–19
pNextOpIfOk
When starting, the radio CPU decrements the counter field by 1, unless it was already 0, and writes the
result back to this field. If the result of the decrement is zero, the operation ends with the status
DONE_COUNTDOWN and the result FALSE. Otherwise, the operation ends with the status DONE_OK
and the result TRUE. In this case, the next radio operation command to run is given by pNextOpIfOk
instead of pNextOp (see
If the operation is started with the counter equal to zero, the operation ends with the status DONE_OK
and the next operation is taken from pNextOpIfOk. This operation can be used if the previous command is
set up to skip optionally, as skipping from a previous command in the chain follows pNextOp.
The operation ends by one of the causes listed in
Condition
Finished operation with counter = 0 when being started
Finished operation with counter > 0 after decrementing
Finished operation with counter = 0 after decrementing
1502
Radio
Table 23-32. End Statuses for CMD_SCH_IMM
Table 23-33. CMD_COUNT_BRANCH Command Format
Bits
Bit Field Name
Table
23-8), which can be used in conditional execution to create a loop.
Table 23-34. Additional End Causes for CMD_COUNT_BRANCH
Copyright © 2015, Texas Instruments Incorporated
Status Code
DONE_OK
DONE_FAILED
ERROR_PAR
Table
23-33.
Type
Description
Counter
When starting, the radio CPU decrements
R/W
the value, and the end status of the
operation differs if the result is zero.
Pointer to next operation if counter did not
W
expire.
Table 23-14
or
Table
23-34.
Status Code
DONE_OK
DONE_OK
DONE_COUNTDOWN
SWCU117C – February 2015 – Revised September 2015
www.ti.com
Result
TRUE
FALSE
ABORT
Table
23-8,
Result
TRUE
TRUE
FALSE
Submit Documentation Feedback

Hide quick links:

Advertisement

loading