Home
last modified time | relevance | path

Searched refs:adc (Results 1 – 8 of 8) sorted by relevance

/hal_espressif-latest/components/esp_adc/esp32/
Dadc_cali_line_fitting.c128 static uint32_t calculate_voltage_lut(uint32_t adc, uint32_t vref, const uint32_t *low_vref_curve, …
412 static uint32_t calculate_voltage_lut(uint32_t adc, uint32_t vref, const uint32_t *low_vref_curve, … in calculate_voltage_lut() argument
415 uint32_t i = (adc - LUT_LOW_THRESH) / LUT_ADC_STEP_SIZE; in calculate_voltage_lut()
420 int y2dist = ((i + 1) * LUT_ADC_STEP_SIZE) + LUT_LOW_THRESH - adc; //(y2 - y) in calculate_voltage_lut()
421 int y1dist = adc - ((i * LUT_ADC_STEP_SIZE) + LUT_LOW_THRESH); //(y - y1) in calculate_voltage_lut()
/hal_espressif-latest/components/esp_adc/deprecated/esp32/
Desp_adc_cal_legacy.c233 static uint32_t calculate_voltage_lut(uint32_t adc, uint32_t vref, const uint32_t *low_vref_curve, … in calculate_voltage_lut() argument
236 uint32_t i = (adc - LUT_LOW_THRESH) / LUT_ADC_STEP_SIZE; in calculate_voltage_lut()
241 int y2dist = ((i + 1) * LUT_ADC_STEP_SIZE) + LUT_LOW_THRESH - adc; //(y2 - y) in calculate_voltage_lut()
242 int y1dist = adc - ((i * LUT_ADC_STEP_SIZE) + LUT_LOW_THRESH); //(y - y1) in calculate_voltage_lut()
/hal_espressif-latest/zephyr/esp32/src/esp_adc_cal/
Desp_adc_cal.c239 static uint32_t calculate_voltage_lut(uint32_t adc, uint32_t vref, const uint32_t *low_vref_curve, … in calculate_voltage_lut() argument
242 uint32_t i = (adc - LUT_LOW_THRESH) / LUT_ADC_STEP_SIZE; in calculate_voltage_lut()
247 int y2dist = ((i + 1) * LUT_ADC_STEP_SIZE) + LUT_LOW_THRESH - adc; //(y2 - y) in calculate_voltage_lut()
248 int y1dist = adc - ((i * LUT_ADC_STEP_SIZE) + LUT_LOW_THRESH); //(y - y1) in calculate_voltage_lut()
/hal_espressif-latest/components/hal/esp32/include/hal/
Dadc_ll.h716 static inline void adc_ll_vref_output(adc_unit_t adc, adc_channel_t channel, bool en) in adc_ll_vref_output() argument
718 if (adc != ADC_UNIT_2) { in adc_ll_vref_output()
/hal_espressif-latest/components/hal/esp32c3/include/hal/
Dadc_ll.h699 static inline void adc_ll_vref_output(adc_unit_t adc, adc_channel_t channel, bool en) in adc_ll_vref_output() argument
714 if (adc == ADC_UNIT_1) { in adc_ll_vref_output()
/hal_espressif-latest/components/hal/esp32s2/include/hal/
Dadc_ll.h1143 static inline void adc_ll_vref_output(adc_unit_t adc, adc_channel_t channel, bool en) in adc_ll_vref_output() argument
1151 if (adc == ADC_UNIT_1) { in adc_ll_vref_output()
/hal_espressif-latest/components/hal/esp32s3/include/hal/
Dadc_ll.h817 static inline void adc_ll_vref_output(adc_unit_t adc, adc_channel_t channel, bool en) in adc_ll_vref_output() argument
/hal_espressif-latest/tools/esptool_py/docs/en/espefuse/
Dindex.rst42 adc_info <adc-info-cmd>