1.1.3.3.2 DRV_GENERICCODEC_Deinitialize Function
void DRV_GENERICCODEC_Deinitialize( SYS_MODULE_OBJ object)
Summary
Deinitializes the specified instance of the Generic Codec driver module
Description
Deinitializes the specified instance of the Generic Codec driver module, disabling its operation (and any hardware). Invalidates all the internal data.
Preconditions
Function DRV_GENERICCODEC_Initialize should have been called before calling this function.
Parameters
Parameters | Description |
---|---|
object | Driver object handle, returned from the DRV_GENERICCODEC_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_GENERICCODEC_Initialize_ SYS_STATUS status; DRV_GENERICCODEC_Deinitialize(object); status = DRV_GENERICCODEC_Status(object); if (SYS_MODULE_DEINITIALIZED != status) { _// Check again later if you need to know_ _// when the driver is deinitialized._ }
C
void DRV_GENERICCODEC_Deinitialize(SYS_MODULE_OBJ object);