1.1.2.3.6 DRV_AK4954_Tasks Function

void DRV_AK4954_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_AK4954_Initialize routine must have been called for the specified AK4954 driver instance.

Parameters

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

DRV_AK4954_Tasks (object);

_\/\/ Do other tasks_

}

C

void DRV_AK4954_Tasks(SYS_MODULE_OBJ object);