1.4.3.16 PAL_Tasks Function

C

void PAL_Tasks(SYS_MODULE_OBJ object);

Summary

Maintains the PAL state machine.

Description

This function is used to maintain the PAL internal state machine and generate callbacks.

Precondition

The PAL_Initialize function should have been called before calling this function.

Parameters

ParamDescription
objectIdentifier for the object instance

Returns

None.

Example

 
    SYS_MODULE_OBJ sysObjPal;
    sysObjPal = PAL_Initialize(PRIME_PAL_INDEX);

    while (true)
    {
        PAL_Tasks(sysObjPal);
    }

Remarks

None