MPLAB Harmony Bluetooth Help
|
Return the current sampling rate.
Function DRV_BM64_SamplingRateGet:
uint32_t DRV_BM64_SamplingRateGet(DRV_HANDLE handle);
Return the current sampling rate as a 32-bit integer.
DRV_BM64_Open must have been called to obtain a valid opened device handle.
Parameters |
Description |
handle |
valid handle to an opened BM64 device driver unique to client |
None.
uint32_t sampleRate;
// note generic version of call (DRV_BT instead of DRV_BM64) is used
sampleRate = DRV_BT_SamplingRateGet(appData.bt.handle);
uint32_t DRV_BM64_SamplingRateGet( DRV_HANDLE handle );
MPLAB Harmony Bluetooth Help
|