Home
last modified time | relevance | path

Searched refs:coeff_a_scaling (Results 1 – 5 of 5) sorted by relevance

/hal_espressif-3.4.0/components/esp_adc_cal/esp32s2/
Desp_adc_cal.c26 static const int coeff_a_scaling = 65536; variable
117 *coeff_a = coeff_a_scaling * (v_high[atten] - v_low) / (high - low); in characterize_using_two_point()
137 chars->coeff_a = coeff_a_scaling * parsed_data->efuse_data.ver2.adc_calib_high_voltage / in calculate_characterization_coefficients()
199 return adc_reading * chars->coeff_a / coeff_a_scaling + chars->coeff_b / coeff_b_scaling; in esp_adc_cal_raw_to_voltage()
/hal_espressif-3.4.0/zephyr/esp32s2/src/esp_adc_cal/
Desp_adc_cal.c25 static const int coeff_a_scaling = 65536; variable
116 *coeff_a = coeff_a_scaling * (v_high[atten] - v_low) / (high - low); in characterize_using_two_point()
136 chars->coeff_a = coeff_a_scaling * parsed_data->efuse_data.ver2.adc_calib_high_voltage / in calculate_characterization_coefficients()
198 return adc_reading * chars->coeff_a / coeff_a_scaling + chars->coeff_b / coeff_b_scaling; in esp_adc_cal_raw_to_voltage()
/hal_espressif-3.4.0/zephyr/esp32c3/src/esp_adc_cal/
Desp_adc_cal.c30 static const int coeff_a_scaling = 65536; variable
105 …chars->coeff_a = coeff_a_scaling * parsed_data->efuse_data.ver1.voltage / parsed_data->efuse_data.… in calculate_characterization_coefficients()
175 uint64_t v_cali_1 = adc_reading * chars->coeff_a / coeff_a_scaling; in esp_adc_cal_raw_to_voltage()
/hal_espressif-3.4.0/components/esp_adc_cal/esp32c3/
Desp_adc_cal.c27 static const int coeff_a_scaling = 65536; variable
102 …chars->coeff_a = coeff_a_scaling * parsed_data->efuse_data.ver1.voltage / parsed_data->efuse_data.… in calculate_characterization_coefficients()
162 uint64_t v_cali_1 = adc_reading * chars->coeff_a / coeff_a_scaling; in esp_adc_cal_raw_to_voltage()
/hal_espressif-3.4.0/components/esp_adc_cal/esp32s3/
Desp_adc_cal.c26 static const int coeff_a_scaling = 1000000; variable
121 …chars->coeff_a = coeff_a_scaling * parsed_data->ref_data.ver1.voltage / parsed_data->ref_data.ver1… in calculate_characterization_coefficients()
171 v_cali_1 = v_cali_1 / coeff_a_scaling; in esp_adc_cal_raw_to_voltage()