Searched refs:atten (Results 1 – 9 of 9) sorted by relevance
85 static inline int gain_to_atten(enum adc_gain gain, adc_atten_t *atten) in gain_to_atten() argument89 *atten = ADC_ATTEN_DB_0; in gain_to_atten()92 *atten = ADC_ATTEN_DB_2_5; in gain_to_atten()95 *atten = ADC_ATTEN_DB_6; in gain_to_atten()98 *atten = ADC_ATTEN_DB_12; in gain_to_atten()108 static void atten_to_gain(adc_atten_t atten, uint32_t *val_mv) in atten_to_gain() argument113 switch (atten) { in atten_to_gain()268 adc_digi_pattern_config->atten = data->attenuation[channel_id]; in adc_esp32_fill_digi_pattern()
62 href-atten-microvolt = <1000000>;
75 href-atten-microvolt = <1000000>;
70 href-atten-microvolt = <1000000>;
66 href-atten-microvolt = <1000000>;
67 href-atten-microvolt = <1000000>;
190 .atten = dev_cfg->href_atten_microvolt_enum_idx