1.3.4.1.17 MAC_PLC_DATA Struct

C

typedef struct
{
    /* Pointer to MAC Tables */
    MAC_PLC_TABLES *macPlcTables;
    /* Callbacks */
    MAC_PLC_HANDLERS macPlcHandlers;
    /* State of the MAC PLC module */
    MAC_PLC_STATE state;
    /* PLC working band */
    MAC_PLC_BAND plcBand;
    /* Flag to indicate this object is in use  */
    bool inUse;
} MAC_PLC_DATA;

Summary

Object used to keep any data required for the module.

Description

Contains status of module state machine, runtime variables, pointer to Mac Tables and callback definitions.

Field description:

  • macPlcTables. Pointer to MAC PLC Tables structure.

  • macPlcHandlers. Callbacks to invoke when signaling events.

  • state. State of the MAC PLC module State Machine.

  • plcBand. PLC working band.

  • inUse. Flag to indicate this object is in use.

Remarks

None.