1.3.3.6 PAL_Tasks Function
C
void PAL_Tasks(void)
Summary
Maintains the PAL module state machine.
Description
This routine maintains the PAL module state machine. It has to be called periodically from upper layer so PAL layer performs its tasks depending on the current state.
Parameters
None.
Returns
None.
Example
PAL_INIT palInitData;
palInitData.palHandlers.palDataIndication = _plcDataIndication;
palInitData.palHandlers.palTxConfirm = _plcTxConfirm;
palInitData.palHandlers.palRxParamsIndication = _plcRxParamsIndication;
PAL_Init(&palInitData);
while (1)
{
PAL_Tasks();
}
Remarks
None.
