1.1.5.2.2 DRV_I2S_Close Function

void DRV_I2S_Close( DRV_Handle handle )

Summary

Closes an opened-instance of the I2S driver.

Description

This routine closes an opened-instance of the I2S driver, invalidating the handle. Any buffers in the driver queue that were submitted by this client will be removed. A new handle must be obtained by calling DRV_I2S_Open before the caller may use the driver again.

Preconditions

DRV_I2S_Open must have been called to obtain a valid opened device handle.

Parameters

ParametersDescription
handleA valid open-instance handle, returned from the driver's open routine

Returns

None.

Remarks

None.

Example

_// 'handle', returned from the DRV_I2S_Open_

DRV_I2S_Close(handle);

C

void DRV_I2S_Close(const DRV_HANDLE handle);