rflib
Data Fields
rfc_CMD_PATTERN_CHECK_s Struct Reference

Command for Checking a Value in Memory aginst a Pattern. More...

#include <rf_common_cmd.h>

Collaboration diagram for rfc_CMD_PATTERN_CHECK_s:
Collaboration graph
[legend]

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_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
 
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 unsigned
1–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 pointer
1: Use pValue as a signed offset to the start of the last committed RX entry element More...
 
patternOpt
 Options for comparison. More...
 
rfc_radioOp_tpNextOpIfOk
 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...
 

Detailed Description

Command for Checking a Value in Memory aginst a Pattern.

Field Documentation

§ commandNo

uint16_t rfc_CMD_PATTERN_CHECK_s::commandNo

The command ID number 0x0813.

§ status

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.

§ pNextOp

rfc_radioOp_t* rfc_CMD_PATTERN_CHECK_s::pNextOp

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

§ startTime

ratmr_t rfc_CMD_PATTERN_CHECK_s::startTime

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

§ triggerType

uint8_t rfc_CMD_PATTERN_CHECK_s::triggerType

The type of trigger.

§ bEnaCmd

uint8_t rfc_CMD_PATTERN_CHECK_s::bEnaCmd

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

§ triggerNo

uint8_t rfc_CMD_PATTERN_CHECK_s::triggerNo

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

§ pastTrig

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

§ startTrigger

struct { ... } rfc_CMD_PATTERN_CHECK_s::startTrigger

Identification of the trigger that starts the operation.

§ rule

uint8_t rfc_CMD_PATTERN_CHECK_s::rule

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

§ nSkip

uint8_t rfc_CMD_PATTERN_CHECK_s::nSkip

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

§ condition

struct { ... } rfc_CMD_PATTERN_CHECK_s::condition

§ operation

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

§ bByteRev

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.

§ bBitRev

uint16_t rfc_CMD_PATTERN_CHECK_s::bBitRev

If 1, perform bit reversal of the value.

§ signExtend

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.

§ bRxVal

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

§ patternOpt

struct { ... } rfc_CMD_PATTERN_CHECK_s::patternOpt

Options for comparison.

§ pNextOpIfOk

rfc_radioOp_t* rfc_CMD_PATTERN_CHECK_s::pNextOpIfOk

Pointer to next operation if comparison result was true.

§ pValue

uint8_t* rfc_CMD_PATTERN_CHECK_s::pValue

Pointer to read from, or offset from last RX entry if patternOpt.bRxVal == 1.

§ mask

uint32_t rfc_CMD_PATTERN_CHECK_s::mask

Bit mask to apply before comparison.

§ compareVal

uint32_t rfc_CMD_PATTERN_CHECK_s::compareVal

Value to compare to.


The documentation for this struct was generated from the following file:
© Copyright 1995-2021, Texas Instruments Incorporated. All rights reserved.
Trademarks | Privacy policy | Terms of use | Terms of sale