1.1.4.6.3 DRV_WM8904_SamplingRateGet Function
uint32_t DRV_WM8904_SamplingRateGet(DRV_HANDLE handle)
Summary
This function gets the sampling rate set on the WM8904.
Description
This function gets the sampling rate set on the DAC WM8904.
Parameters
Parameters | Description |
---|---|
handle | A valid open-instance handle, returned from the driver's open routine |
Remarks
None.
Example
uint32_t baudRate; _// myWM8904Handle is the handle returned // by the DRV_WM8904_Open function._ baudRate = DRV_WM8904_SamplingRateGet(myWM8904Handle);
C
uint32_t DRV_WM8904_SamplingRateGet(DRV_HANDLE handle);