1.1.3.6.7 DRV_GENERICCODEC_SamplingRateGet Function
uint32_t DRV_GENERICCODEC_SamplingRateGet(DRV_HANDLE handle)
Summary
This function gets the sampling rate set on the Generic Codec.
Description
This function gets the sampling rate set on the DAC Generic Codec.
Parameters
Parameters | Description |
---|---|
handle | A valid open-instance handle, returned from the driver's open routine |
Remarks
None.
Example
uint32_t baudRate; _// myGENERICCODECHandle is the handle returned // by the DRV_GENERICCODEC_Open function._ baudRate = DRV_GENERICCODEC_SamplingRateGet(myGENERICCODECHandle);
C
uint32_t **DRV_GENERICCODEC_SamplingRateGet**(DRV_HANDLE **handle**);