Searched refs:attenuation (Results 1 – 1 of 1) sorted by relevance
71 adc_atten_t attenuation[SOC_ADC_MAX_CHANNEL_NUM]; member261 *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()268 adc_digi_pattern_config->atten = data->attenuation[channel_id]; in adc_esp32_fill_digi_pattern()461 if (data->attenuation[channel_id] == ADC_ATTEN_DB_12) { in adc_esp32_read()469 atten_to_gain(data->attenuation[channel_id], &cal); in adc_esp32_read()592 if (gain_to_atten(cfg->gain, &data->attenuation[cfg->channel_id])) { in adc_esp32_channel_setup()599 adc1_config_channel_atten(cfg->channel_id, data->attenuation[cfg->channel_id]); in adc_esp32_channel_setup()602 adc2_config_channel_atten(cfg->channel_id, data->attenuation[cfg->channel_id]); in adc_esp32_channel_setup()607 data->attenuation[cfg->channel_id], in adc_esp32_channel_setup()[all …]