Read data from the ADC.
int32_t adc_async_read_channel( struct adc_async_descriptor *const descr, const uint8_t channel, uint8_t *const buffer, const uint16_t length )
Type: struct adc_async_descriptor Struct *const
The pointer to the ADC descriptor
Type: const uint8_t
Channel number
A buffer to read data to
Type: const uint16_t
The size of a buffer
Type: int32_t
The number of bytes read.