Home
last modified time | relevance | path

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

/hal_espressif-latest/components/esp_adc/deprecated/esp32/
Desp_adc_cal_legacy.c258 static inline uint32_t interpolate_two_points(uint32_t y1, uint32_t y2, uint32_t x_step, uint32_t x) in interpolate_two_points() argument
261 return ((y1 * x_step) + (y2 * x) - (y1 * x) + (x_step / 2)) / x_step; in interpolate_two_points()
/hal_espressif-latest/zephyr/esp32/src/esp_adc_cal/
Desp_adc_cal.c264 static inline uint32_t interpolate_two_points(uint32_t y1, uint32_t y2, uint32_t x_step, uint32_t x) in interpolate_two_points() argument
267 return ((y1 * x_step) + (y2 * x) - (y1 * x) + (x_step / 2)) / x_step; in interpolate_two_points()
/hal_espressif-latest/components/esp_adc/esp32/
Dadc_cali_line_fitting.c130 static inline uint32_t interpolate_two_points(uint32_t y1, uint32_t y2, uint32_t x_step, uint32_t x) in interpolate_two_points() argument
133 return ((y1 * x_step) + (y2 * x) - (y1 * x) + (x_step / 2)) / x_step; in interpolate_two_points()