ADC config structure.

Public Attributes#

Selects the ADC analog gain.

Selects the number of samples for averaging.

uint16_t

Selects the acquisition time for scan samples in terms of ADC clock cycles.

Public Attribute Documentation#

gain#

sl_hal_adc_analog_gain_t sl_hal_adc_config_t::gain

Selects the ADC analog gain.


average#

sl_hal_adc_samples_t sl_hal_adc_config_t::average

Selects the number of samples for averaging.


acquisition_time#

uint16_t sl_hal_adc_config_t::acquisition_time

Selects the acquisition time for scan samples in terms of ADC clock cycles.