1.3.4.1.3 MAC_PLC_Tasks Function

C

void MAC_PLC_Tasks (
    void
);

Summary

Maintains MAC PLC state machine.

Description

MAC PLC State Machine controls MAC layer duties, such as transmitting and receiving frames, managing PLC medium access or ensure link reliability.

Precondition

MAC_PLC_Init must have been called before calling this function.

Parameters

None.

Returns

None.

Example

// ...
MAC_PLC_Init(&macPlcInit);
// ...

while (true)
{
    MAC_PLC_Tasks();

    // Do other tasks
}

Remarks

None.