RAIL_Config_t Struct Reference

RAIL configuration and internal state structure.

#include < rail_chip_specific.h >

Data Fields

void(* eventsCallback )( RAIL_Handle_t railHandle, RAIL_Events_t events)
A pointer to a function, which is called whenever a RAIL event occurs.
void * protocol
A pointer to a protocol-specific state structure allocated in global read-write memory and initialized to all zeros.
RAILSched_Config_t * scheduler
A pointer to a RAIL scheduler state object allocated in global read-write memory and initialized to all zeros.
RAIL_StateBuffer_t buffer
A structure for RAIL to maintain its internal state, which must be initialized to all zeros.

RAIL configuration and internal state structure.

This structure must be allocated in application global read-write memory that persists for the duration of RAIL usage. It cannot be allocated in read-only memory or on the call stack.

Definition at line 145 of file rail_chip_specific.h .

Field Documentation

void(* RAIL_Config_t::eventsCallback) ( RAIL_Handle_t railHandle, RAIL_Events_t events)

A pointer to a function, which is called whenever a RAIL event occurs.

Parameters
[in] railHandle A handle for a RAIL instance.
[in] events A bit mask of RAIL events.
Returns
void.

See the RAIL_Events_t documentation for the list of RAIL events.

Definition at line 155 of file rail_chip_specific.h .

void* RAIL_Config_t::protocol

A pointer to a protocol-specific state structure allocated in global read-write memory and initialized to all zeros.

For the BLE protocol, it should point to a RAIL_BLE_State_t structure. For IEEE802154, it should be NULL.

Definition at line 162 of file rail_chip_specific.h .

RAILSched_Config_t * RAIL_Config_t::scheduler

A pointer to a RAIL scheduler state object allocated in global read-write memory and initialized to all zeros.

When not using a multiprotocol scheduler, it should be NULL.

Definition at line 168 of file rail_chip_specific.h .


The documentation for this struct was generated from the following file:
  • chip/efr32/efr32xg1x/ rail_chip_specific.h