1.1.3.3.4 DRV_GENERICCODEC_Tasks Function
void DRV_GENERICCODEC_Tasks(SYS_MODULE_OBJ object);
Summary
Maintains the driver's control and data interface state machine.
Description
This routine is used to maintain the driver's internal control and data interface state machine and implement its control and data interface implementations. This function should be called from the SYS_Tasks() function.
Preconditions
The DRV_GENERICCODEC_Initialize routine must have been called for the specified Generic Codec driver instance.
Parameters
Parameters | Description |
---|---|
object | Object handle for the specified driver instance (returned from DRV_GENERICCODEC_Initialize) |
Returns
None.
Remarks
This routine is normally not called directly by an application. It is called by the system's Tasks routine (SYS_Tasks).
Example
SYS_MODULE_OBJ object; _// Returned from DRV_GENERICCODEC_Initialize_ while (true) { DRV_GENERICCODEC_Tasks (object); _// Do other tasks_ }
C
void DRV_GENERICCODEC_Tasks(SYS_MODULE_OBJ object);