1.3.4.1.2 MAC_PLC_INIT Struct
C
typedef struct
{
/* Pointer to MAC Tables */
MAC_PLC_TABLES *macPlcTables;
/* Callbacks */
MAC_PLC_HANDLERS macPlcHandlers;
/* PLC working band */
MAC_PLC_BAND plcBand;
/* PLC PAL index from configuration */
uint8_t palPlcIndex;
} MAC_PLC_INIT;Summary
Initialization Data for MAC PLC to be provided on Init routine.
Description
Defines the set of callback functions that MAC PLC uses to generate events to upper layer, a pointer to MAC PLC Tables, and the PLC band to use.
Field description:
- macPlcTables. Pointer to MAC PLC Tables structure.
- macPlcHandlers. Structure containing pointers to functions to be invoked by MAC PLC to notify events.
- plcBand. Working PLC band to use.
- palPlcIndex. Index to initialize PAL layer. As it comes from configuration options, it cannot be hardcoded in library and is passed as initialization data.
Remarks
None.
