Searched refs:coeff_a_scaling (Results 1 – 5 of 5) sorted by relevance
26 static const int coeff_a_scaling = 65536; variable117 *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()
25 static const int coeff_a_scaling = 65536; variable116 *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()
30 static const int coeff_a_scaling = 65536; variable105 …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()
27 static const int coeff_a_scaling = 65536; variable102 …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()
26 static const int coeff_a_scaling = 1000000; variable121 …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()