Set ADC gain.
int32_t adc_os_set_channel_gain( struct adc_os_descriptor *const descr, const uint8_t channel, const adc_gain_t gain )
This function sets ADC gain.
Type: struct adc_os_descriptor Struct *const
The pointer to ADC descriptor
Type: const uint8_t
Channel number
Type: const adc_gain_t
A gain to set
Type: int32_t
ERR_NONE