5.1.4.19 adc_async_flush_rx_buffer
Flush ADC ringbuf.
int32_t adc_async_flush_rx_buffer(
struct adc_async_descriptor *const descr,
const uint8_t channel
)
This function flush ADC RX ringbuf.
Parameters
- descr
-
Type: struct adc_async_descriptor Struct *const
The pointer to the ADC descriptor
- channel
-
Type: const uint8_t
Channel number
Returns
Type: int32_t
ERR_NONE