1.1.1.1.1 DRV_AK4953_Deinitialize Function

void DRV_AK4953_Deinitialize( SYS_MODULE_OBJ object)

Summary

Deinitializes the specified instance of the AK4953 driver module.

Description

Deinitializes the specified instance of the AK4953 driver module, disabling its operation (and any hardware). Invalidates all the internal data.

Preconditions

Function DRV_AK4953_Initialize should have been called before calling this function.

Parameters

ParametersDescription
objectDriver object handle, returned from the DRV_AK4953_Initialize routine

Returns

None.

Remarks

Once the Initialize operation has been called, the De-initialize operation must be called before the Initialize operation can be called again. This routine will NEVER block waiting for hardware.

Example

SYS_MODULE_OBJ object; _\/\/ Returned from DRV_AK4953_Initialize_

SYS_STATUS status;

DRV_AK4953_Deinitialize(object); status = DRV_AK4953_Status(object); if (SYS_MODULE_DEINITIALIZED != status) {

_\/\/ Check again later if you need to know_ _\/\/ when the driver is deinitialized._

}

C

void DRV_AK4953_Deinitialize(SYS_MODULE_OBJ object);