Home
last modified time | relevance | path

Searched refs:delta_v (Results 1 – 3 of 3) sorted by relevance

/hal_espressif-latest/components/esp_adc/deprecated/esp32/
Desp_adc_cal_legacy.c196 uint32_t delta_v = TP_HIGH_VOLTAGE - TP_LOW_VOLTAGE; in characterize_using_two_point() local
198 …*coeff_a = (delta_v * atten_scales[atten] + (delta_x / 2)) / delta_x; //+(delta_x/2) for rounding in characterize_using_two_point()
200 … *coeff_b = TP_HIGH_VOLTAGE - ((delta_v * high + (delta_x / 2)) / delta_x) + atten_offsets[atten]; in characterize_using_two_point()
/hal_espressif-latest/zephyr/esp32/src/esp_adc_cal/
Desp_adc_cal.c202 uint32_t delta_v = TP_HIGH_VOLTAGE - TP_LOW_VOLTAGE; in characterize_using_two_point() local
204 …*coeff_a = (delta_v * atten_scales[atten] + (delta_x / 2)) / delta_x; //+(delta_x/2) for rounding in characterize_using_two_point()
206 … *coeff_b = TP_HIGH_VOLTAGE - ((delta_v * high + (delta_x / 2)) / delta_x) + atten_offsets[atten]; in characterize_using_two_point()
/hal_espressif-latest/components/esp_adc/esp32/
Dadc_cali_line_fitting.c374 uint32_t delta_v = TP_HIGH_VOLTAGE - TP_LOW_VOLTAGE; in characterize_using_two_point() local
376 …*coeff_a = (delta_v * atten_scales[atten] + (delta_x / 2)) / delta_x; //+(delta_x/2) for rounding in characterize_using_two_point()
378 … *coeff_b = TP_HIGH_VOLTAGE - ((delta_v * high + (delta_x / 2)) / delta_x) + atten_offsets[atten]; in characterize_using_two_point()