Set ADC channel gain.
int32_t adc_dma_set_channel_gain( struct adc_dma_descriptor *const descr, const uint8_t channel, const adc_gain_t gain )
This function sets ADC channel gain.
Type: struct adc_dma_descriptor Struct *const
The pointer to the ADC descriptor
Type: const uint8_t
Channel number
Type: const adc_gain_t
A gain to set
Type: int32_t
Status of the ADC gain setting.