Read data from ADC.
int32_t adc_sync_read_channel( struct adc_sync_descriptor *const descr, const uint8_t channel, uint8_t *const buffer, const uint16_t length )
Type: struct adc_sync_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.