Home
last modified time | relevance | path

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

/hal_espressif-latest/components/esp_adc/deprecated/esp32/
Desp_adc_cal_legacy.c241 int y2dist = ((i + 1) * LUT_ADC_STEP_SIZE) + LUT_LOW_THRESH - adc; //(y2 - y) in calculate_voltage_lut() local
252 …int voltage = (q11 * x2dist * y2dist) + (q21 * x1dist * y2dist) + (q12 * x2dist * y1dist) + (q22 *… in calculate_voltage_lut()
/hal_espressif-latest/zephyr/esp32/src/esp_adc_cal/
Desp_adc_cal.c247 int y2dist = ((i + 1) * LUT_ADC_STEP_SIZE) + LUT_LOW_THRESH - adc; //(y2 - y) in calculate_voltage_lut() local
258 …int voltage = (q11 * x2dist * y2dist) + (q21 * x1dist * y2dist) + (q12 * x2dist * y1dist) + (q22 *… in calculate_voltage_lut()
/hal_espressif-latest/components/esp_adc/esp32/
Dadc_cali_line_fitting.c420 int y2dist = ((i + 1) * LUT_ADC_STEP_SIZE) + LUT_LOW_THRESH - adc; //(y2 - y) in calculate_voltage_lut() local
431 …int voltage = (q11 * x2dist * y2dist) + (q21 * x1dist * y2dist) + (q12 * x2dist * y1dist) + (q22 *… in calculate_voltage_lut()