RAIL_FrameType_t Struct Reference
Configures if there is a frame type in your frame and the lengths of each frame.
#include <
rail_types.h
>
Data Fields |
|
uint16_t * | frameLen |
A pointer to an array of frame lengths for each frame type.
|
|
uint8_t | offset |
Zero-indexed location of the byte containing the frame type field.
|
|
uint8_t | mask |
A bitmask of the frame type field, which determines a number of frames expected based on the number of bits set.
|
|
uint8_t | isValid |
A bitmask that marks if each frame is valid or should be filtered.
|
|
uint8_t | addressFilter |
A bitmask that marks if each frame should have the address filter applied.
|
Configures if there is a frame type in your frame and the lengths of each frame.
The number of bits set in the mask determines the number of elements in frameLen. A maximum of 8 different frame types may be specified.
Definition at line
715
of file
rail_types.h
.
Field Documentation
uint8_t RAIL_FrameType_t::addressFilter |
A bitmask that marks if each frame should have the address filter applied.
Frame type 0 corresponds to the least significant bit in addressFilter.
Definition at line
744
of file
rail_types.h
.
uint16_t* RAIL_FrameType_t::frameLen |
A pointer to an array of frame lengths for each frame type.
The length of this array should be equal to the number of frame types. The array that frameLen points to should not change location or be modified.
Definition at line
721
of file
rail_types.h
.
uint8_t RAIL_FrameType_t::isValid |
A bitmask that marks if each frame is valid or should be filtered.
Frame type 0 corresponds to the lowest bit in isValid. If the frame is filtered, a RAIL_EVENT_RX_PACKET_ABORTED will be raised.
Definition at line
739
of file
rail_types.h
.
uint8_t RAIL_FrameType_t::mask |
A bitmask of the frame type field, which determines a number of frames expected based on the number of bits set.
No more than 3 bits can be set in the mask and they must be contiguous ones. For example, if the highest three bits of the byte specified by offset constitute the frame type, then mask should be 0xE0, which has 3 bits set, indicating 8 possible frame types.
Definition at line
733
of file
rail_types.h
.
The documentation for this struct was generated from the following file:
-
common/
rail_types.h