RAIL_AddrConfig_t Struct Reference

A structure to configure the address filtering functionality in RAIL.

#include <rail_types.h>

Data Fields

uint8_t offsets [(2)]
 A list of the start offsets for each field.
 
uint8_t sizes [(2)]
 A list of the address field sizes.
 
uint32_t matchTable
 The truth table to determine how the two fields combine to create a match.

A structure to configure the address filtering functionality in RAIL.

Definition at line 2376 of file rail_types.h.

Field Documentation

uint32_t RAIL_AddrConfig_t::matchTable

The truth table to determine how the two fields combine to create a match.

For detailed information about how this truth table is formed, see the detailed description of Address Filtering.

For simple predefined configurations use the following defines.

  • ADDRCONFIG_MATCH_TABLE_SINGLE_FIELD
    • For filtering that only uses a single address field.
  • ADDRCONFIG_MATCH_TABLE_DOUBLE_FIELD for two field filtering where you
    • For filtering that uses two address fields in a configurations where you want the following logic ((Field0, Index0) && (Field1, Index0)) || ((Field0, Index1) && (Field1, Index1)) || ...

Definition at line 2409 of file rail_types.h.

uint8_t RAIL_AddrConfig_t::offsets[(2)]

A list of the start offsets for each field.

These offsets are specified relative to the previous field's end. For the first field, it is relative to either the beginning of the packet or the end of the frame type byte if frame type decoding is enabled. If a field is unused, it's offset should be set to 0.

Definition at line 2385 of file rail_types.h.

uint8_t RAIL_AddrConfig_t::sizes[(2)]

A list of the address field sizes.

These sizes are specified in bytes from 0 to 8. If you choose a size of 0, this field is effectively disabled.

Definition at line 2393 of file rail_types.h.


The documentation for this struct was generated from the following file:
  • common/rail_types.h