Home
last modified time | relevance | path

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

/hal_espressif-latest/components/esp_adc/deprecated/esp32/
Desp_adc_cal_legacy.c67 #define LUT_VREF_LOW 1000 macro
240 int x1dist = vref - LUT_VREF_LOW; //(x - x1) in calculate_voltage_lut()
253 voltage += ((LUT_VREF_HIGH - LUT_VREF_LOW) * LUT_ADC_STEP_SIZE) / 2; //Integer division rounding in calculate_voltage_lut()
254 … voltage /= ((LUT_VREF_HIGH - LUT_VREF_LOW) * LUT_ADC_STEP_SIZE); //Divide by ((x2-x1)*(y2-y1)) in calculate_voltage_lut()
/hal_espressif-latest/zephyr/esp32/src/esp_adc_cal/
Desp_adc_cal.c69 #define LUT_VREF_LOW 1000 macro
246 int x1dist = vref - LUT_VREF_LOW; //(x - x1) in calculate_voltage_lut()
259 voltage += ((LUT_VREF_HIGH - LUT_VREF_LOW) * LUT_ADC_STEP_SIZE) / 2; //Integer division rounding in calculate_voltage_lut()
260 … voltage /= ((LUT_VREF_HIGH - LUT_VREF_LOW) * LUT_ADC_STEP_SIZE); //Divide by ((x2-x1)*(y2-y1)) in calculate_voltage_lut()
/hal_espressif-latest/components/esp_adc/esp32/
Dadc_cali_line_fitting.c70 #define LUT_VREF_LOW 1000 macro
419 int x1dist = vref - LUT_VREF_LOW; //(x - x1) in calculate_voltage_lut()
432 voltage += ((LUT_VREF_HIGH - LUT_VREF_LOW) * LUT_ADC_STEP_SIZE) / 2; //Integer division rounding in calculate_voltage_lut()
433 … voltage /= ((LUT_VREF_HIGH - LUT_VREF_LOW) * LUT_ADC_STEP_SIZE); //Divide by ((x2-x1)*(y2-y1)) in calculate_voltage_lut()