Searched refs:unit_attenuation (Results 1 – 1 of 1) sorted by relevance
246 void *pattern_config, uint32_t *pattern_len, uint32_t *unit_attenuation) in adc_esp32_fill_digi_pattern() argument257 *unit_attenuation = unit_atten_uninit; in adc_esp32_fill_digi_pattern()260 if (*unit_attenuation == unit_atten_uninit) { in adc_esp32_fill_digi_pattern()261 *unit_attenuation = data->attenuation[channel_id]; in adc_esp32_fill_digi_pattern()262 } else if (*unit_attenuation != data->attenuation[channel_id]) { in adc_esp32_fill_digi_pattern()293 uint32_t sample_freq_hz, uint32_t unit_attenuation) in adc_esp32_digi_start() argument302 adc_set_hw_calibration_code(conf->unit, unit_attenuation); in adc_esp32_digi_start()486 uint32_t adc_pattern_len, unit_attenuation; in adc_esp32_read() local490 &adc_pattern_len, &unit_attenuation); in adc_esp32_read()533 sample_freq_hz, unit_attenuation); in adc_esp32_read()