#include <rf_common_cmd.h>
Data Fields | |
uint16_t | commandNo |
The command ID number 0x0813. 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 if the rule involves skipping. More... | |
} | condition |
struct { | |
uint16_t operation:2 | |
Operation to perform 0: True if value == compareVal 1: True if value < compareVal 2: True if value > compareVal 3: Reserved More... | |
uint16_t bByteRev:1 | |
If 1, interchange the four bytes of the value, so that they are read most-significant-byte-first. More... | |
uint16_t bBitRev:1 | |
If 1, perform bit reversal of the value. More... | |
uint16_t signExtend:5 | |
0: Treat value and compareVal as unsigned1–31: Treat value and compareVal as signed, where the value gives the number of the most significant bit in the signed number. More... | |
uint16_t bRxVal:1 | |
0: Use pValue as a pointer1: Use pValue as a signed offset to the start of the last committed Rx entry element More... | |
} | patternOpt |
Options for comparison. More... | |
rfc_radioOp_t * | pNextOpIfOk |
Pointer to next operation if comparison result was true. More... | |
uint8_t * | pValue |
Pointer to read from, or offset from last Rx entry if patternOpt.bRxVal == 1. More... | |
uint32_t | mask |
Bit mask to apply before comparison. More... | |
uint32_t | compareVal |
Value to compare to. More... | |
Definition at line 687 of file rf_common_cmd.h.
uint16_t rfc_CMD_PATTERN_CHECK_s::bBitRev |
If 1, perform bit reversal of the value.
Definition at line 714 of file rf_common_cmd.h.
uint16_t rfc_CMD_PATTERN_CHECK_s::bByteRev |
If 1, interchange the four bytes of the value, so that they are read most-significant-byte-first.
Definition at line 712 of file rf_common_cmd.h.
uint8_t rfc_CMD_PATTERN_CHECK_s::bEnaCmd |
0: No alternative trigger command
1: CMD_TRIGGER can be used as an alternative trigger
Definition at line 696 of file rf_common_cmd.h.
uint16_t rfc_CMD_PATTERN_CHECK_s::bRxVal |
0: Use pValue
as a pointer
1: Use pValue
as a signed offset to the start of the last committed Rx entry element
Definition at line 718 of file rf_common_cmd.h.
uint16_t rfc_CMD_PATTERN_CHECK_s::commandNo |
The command ID number 0x0813.
Definition at line 688 of file rf_common_cmd.h.
uint32_t rfc_CMD_PATTERN_CHECK_s::compareVal |
Value to compare to.
Definition at line 725 of file rf_common_cmd.h.
struct { ... } rfc_CMD_PATTERN_CHECK_s::condition |
uint32_t rfc_CMD_PATTERN_CHECK_s::mask |
Bit mask to apply before comparison.
Definition at line 724 of file rf_common_cmd.h.
uint8_t rfc_CMD_PATTERN_CHECK_s::nSkip |
Number of skips if the rule involves skipping.
Definition at line 704 of file rf_common_cmd.h.
uint16_t rfc_CMD_PATTERN_CHECK_s::operation |
Operation to perform
0: True if value == compareVal
1: True if value < compareVal
2: True if value > compareVal
3: Reserved
Definition at line 707 of file rf_common_cmd.h.
uint8_t rfc_CMD_PATTERN_CHECK_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 699 of file rf_common_cmd.h.
struct { ... } rfc_CMD_PATTERN_CHECK_s::patternOpt |
Options for comparison.
rfc_radioOp_t* rfc_CMD_PATTERN_CHECK_s::pNextOp |
Pointer to the next operation to run after this operation is done.
Definition at line 692 of file rf_common_cmd.h.
rfc_radioOp_t* rfc_CMD_PATTERN_CHECK_s::pNextOpIfOk |
Pointer to next operation if comparison result was true.
Definition at line 722 of file rf_common_cmd.h.
uint8_t* rfc_CMD_PATTERN_CHECK_s::pValue |
Pointer to read from, or offset from last Rx entry if patternOpt.bRxVal
== 1.
Definition at line 723 of file rf_common_cmd.h.
uint8_t rfc_CMD_PATTERN_CHECK_s::rule |
Condition for running next command: Rule for how to proceed.
Definition at line 703 of file rf_common_cmd.h.
uint16_t rfc_CMD_PATTERN_CHECK_s::signExtend |
0: Treat value and compareVal
as unsigned
1–31: Treat value and compareVal
as signed, where the value gives the number of the most significant bit in the signed number.
Definition at line 715 of file rf_common_cmd.h.
ratmr_t rfc_CMD_PATTERN_CHECK_s::startTime |
Absolute or relative start time (depending on the value of startTrigger
)
Definition at line 693 of file rf_common_cmd.h.
struct { ... } rfc_CMD_PATTERN_CHECK_s::startTrigger |
Identification of the trigger that starts the operation.
uint16_t rfc_CMD_PATTERN_CHECK_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 689 of file rf_common_cmd.h.
uint8_t rfc_CMD_PATTERN_CHECK_s::triggerNo |
The trigger number of the CMD_TRIGGER command that triggers this action.
Definition at line 698 of file rf_common_cmd.h.
uint8_t rfc_CMD_PATTERN_CHECK_s::triggerType |
The type of trigger.
Definition at line 695 of file rf_common_cmd.h.