Set ADC input source of a channel.
int32_t adc_dma_set_inputs( struct adc_dma_descriptor *const descr, const adc_pos_input_t pos_input, const adc_neg_input_t neg_input, const uint8_t channel )
This function sets ADC positive and negative input sources.
Type: struct adc_dma_descriptor Struct *const
The pointer to the ADC descriptor
Type: const adc_pos_input_t
A positive input source to set
Type: const adc_neg_input_t
A negative input source to set
Type: const uint8_t
Channel number
Type: int32_t
Status of the ADC channels setting.