Home
last modified time | relevance | path

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

/hal_espressif-latest/zephyr/esp32s2/src/esp_adc_cal/
Desp_adc_cal.c26 static const int coeff_b_scaling = 1024; variable
117 *coeff_b = coeff_b_scaling * (v_low * high - v_high[atten] * low) / (high - low); in characterize_using_two_point()
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-latest/components/esp_adc/deprecated/esp32s2/
Desp_adc_cal_legacy.c28 static const int coeff_b_scaling = 1024; variable
119 *coeff_b = coeff_b_scaling * (v_low * high - v_high[atten] * low) / (high - low); in characterize_using_two_point()
200 return adc_reading * chars->coeff_a / coeff_a_scaling + chars->coeff_b / coeff_b_scaling; in esp_adc_cal_raw_to_voltage()
/hal_espressif-latest/components/esp_adc/esp32s2/
Dadc_cali_line_fitting.c28 static const int coeff_b_scaling = 1024; variable
152 *voltage = raw * ctx->coeff_a / coeff_a_scaling + ctx->coeff_b / coeff_b_scaling; in cali_raw_to_voltage()
227 *coeff_b = coeff_b_scaling * (v_low * high - v_high[atten] * low) / (high - low); in characterize_using_two_point()