1.1.1.4.10 DRV_AK4953_SamplingRateGet Function

uint32_t DRV_AK4953_SamplingRateGet(DRV_HANDLE handle)

Summary

This function gets the sampling rate set on the DAC AK4953.

Description

This function gets the sampling rate set on the DAC AK4953.

Preconditions

The DRV_AK4953_Initialize routine must have been called for the specified AK4953 driver instance.

DRV_AK4953_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

uint32_t baudRate;

_\/\/ myAK4953Handle is the handle returned \/\/ by the DRV_AK4953_Open function._

baudRate = DRV_AK4953_SamplingRateGet(myAK4953Handle);

C

uint32_t DRV_AK4953_SamplingRateGet(DRV_HANDLE handle);