1.4.3.18 PAL_Enable Function

C

void PAL_Enable(SYS_MODULE_OBJ object, uint8_t enablePAL);

Summary

Enable PAL with the indicated PAL submodules.

Description

This routine enables the PAL with the indicated PAL submodules.

Precondition

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

Parameters

ParamDescription
objectIdentifier for the object instance
enablePALFlags to enable PAL submodules

Returns

None

Example

 
    SYS_MODULE_OBJ sysObjPal;
    sysObjPal = PAL_Initialize(PRIME_PAL_INDEX);

    PAL_Enable(sysObjPal, PAL_PLC_EN);

Remarks

None