Home
last modified time | relevance | path

Searched refs:v_cali_1 (Results 1 – 6 of 6) sorted by relevance

/hal_espressif-3.6.0/components/esp_adc_cal/esp32s3/
Desp_adc_cal.c166 uint64_t v_cali_1 = 0; in esp_adc_cal_raw_to_voltage() local
169 v_cali_1 = adc_reading * chars->coeff_a; in esp_adc_cal_raw_to_voltage()
171 v_cali_1 = v_cali_1 / coeff_a_scaling; in esp_adc_cal_raw_to_voltage()
172 ESP_LOGV(LOG_TAG, "v_cali_1 is %llu", v_cali_1); in esp_adc_cal_raw_to_voltage()
176 .v_cali_input = v_cali_1, in esp_adc_cal_raw_to_voltage()
183 voltage = (int32_t)v_cali_1 - error; in esp_adc_cal_raw_to_voltage()
/hal_espressif-3.6.0/zephyr/esp32s3/src/esp_adc_cal/
Desp_adc_cal.c180 uint64_t v_cali_1 = 0; in esp_adc_cal_raw_to_voltage() local
183 v_cali_1 = adc_reading * chars->coeff_a; in esp_adc_cal_raw_to_voltage()
185 v_cali_1 = v_cali_1 / coeff_a_scaling; in esp_adc_cal_raw_to_voltage()
186 LOG_DBG("v_cali_1 is %llu", v_cali_1); in esp_adc_cal_raw_to_voltage()
190 .v_cali_input = v_cali_1, in esp_adc_cal_raw_to_voltage()
197 voltage = (int32_t)v_cali_1 - error; in esp_adc_cal_raw_to_voltage()
/hal_espressif-3.6.0/zephyr/esp32c3/src/esp_adc_cal/
Desp_adc_cal.c175 uint64_t v_cali_1 = adc_reading * chars->coeff_a / coeff_a_scaling; in esp_adc_cal_raw_to_voltage() local
177 .v_cali_input = v_cali_1, in esp_adc_cal_raw_to_voltage()
184 return (int32_t)v_cali_1 - error; in esp_adc_cal_raw_to_voltage()
/hal_espressif-3.6.0/components/esp_adc_cal/esp32c3/
Desp_adc_cal.c162 uint64_t v_cali_1 = adc_reading * chars->coeff_a / coeff_a_scaling; in esp_adc_cal_raw_to_voltage() local
164 .v_cali_input = v_cali_1, in esp_adc_cal_raw_to_voltage()
171 return (int32_t)v_cali_1 - error; in esp_adc_cal_raw_to_voltage()
/hal_espressif-3.6.0/zephyr/esp_shared/components/esp_adc_cal/
Desp_adc_cal_common.c52 uint64_t v_cali_1 = param->v_cali_input; in esp_adc_cal_get_reading_error() local
74 variable[i] = variable[i-1] * v_cali_1; in esp_adc_cal_get_reading_error()
/hal_espressif-3.6.0/components/esp_adc_cal/
Desp_adc_cal_common.c51 uint64_t v_cali_1 = param->v_cali_input; in esp_adc_cal_get_reading_error() local
73 variable[i] = variable[i-1] * v_cali_1; in esp_adc_cal_get_reading_error()