1.1.4.3.4 DRV_WM8904_Tasks Function

void DRV_WM8904_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_WM8904_Initialize routine must have been called for the specified WM8904 driver instance.

Parameters

ParametersDescription
objectObject handle for the specified driver instance (returned from DRV_WM8904_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_WM8904_Initialize_ while (true) {

DRV_WM8904_Tasks (object);

_// Do other tasks_

}

C

void DRV_WM8904_Tasks(SYS_MODULE_OBJ object);