1.1.2.7.2 DRV_AK4954_GetI2SDriver Function

DRV_HANDLE DRV_AK4954_GetI2SDriver(DRV_HANDLE codecHandle)

Summary

Get the handle to the I2S driver for this codec instance.

Description

Returns the appropriate handle to the I2S based on the ioIent member of the codec object.

Preconditions

The DRV_AK4954_Initialize routine must have been called for the specified AK4954 driver instance.

DRV_AK4954_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

A handle to the I2S driver for this codec instance

Remarks

This allows the caller to directly access portions of the I2S driver that might not be available via the codec API.

C

DRV_HANDLE DRV_AK4954_GetI2SDriver(DRV_HANDLE codecHandle);