1.3.5.1.6 PRIME_API_Tasks Function

C

void PRIME_API_Tasks(void)

Summary

Maintains PRIME Library State Machine.

Description

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

Precondition

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

Parameters

None.

Returns

None.

Example

while (true)
{
    PRIME_API_Tasks();
}

Remarks

This routine is normally not called directly by an application. The PRIME application must use the function located in the PRIME API and call it periodically.