1.2.5.3 ADP_Tasks Function

C

void ADP_Tasks
(
    SYS_MODULE_OBJ object
);

Summary

Maintains ADP State Machine.

Description

This routine maintains the Adaptation Layer State Machine. It is called from System Tasks routine, application does not have to call this function.

Parameters

ParamDescription
objectInstance identifier object (this object is returned on ADP_Initialize call)

Returns

None.

Example

// ...
ADP_INIT initData;
SYS_MODULE_OBJ sysObjAdp;
sysObjAdp = ADP_Initialize(G3_ADP_INDEX_0, (SYS_MODULE_INIT *)&initData);
// ...

while (true)
{
    ADP_Tasks(sysObjAdp);

    // Do other tasks
}

Remarks

ADP_Initialize routine must have been called before, and its returned object used when calling this function.