A structure to configure the address filtering functionality in RAIL.

Public Attributes#

uint8_t

A list of the start byte offsets for each field.

uint8_t

A list of the address field byte sizes.

uint32_t

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

Public Attribute Documentation#

offsets#

uint8_t sl_rail_addr_config_t::offsets[(2)]

A list of the start byte 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.


sizes#

uint8_t sl_rail_addr_config_t::sizes[(2)]

A list of the address field byte sizes.

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


match_table#

uint32_t sl_rail_addr_config_t::match_table

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.