Home
last modified time | relevance | path

Searched refs:coeff (Results 1 – 9 of 9) sorted by relevance

/hal_espressif-3.6.0/components/esp_adc_cal/
Desp_adc_cal_common.c54 uint64_t coeff = 0; in esp_adc_cal_get_reading_error() local
68 coeff = (*param->coeff)[atten][0][0]; in esp_adc_cal_get_reading_error()
69 term[0] = variable[0] * coeff / (*param->coeff)[atten][0][1]; in esp_adc_cal_get_reading_error()
74 coeff = (*param->coeff)[atten][i][0]; in esp_adc_cal_get_reading_error()
75 term[i] = variable[i] * coeff; in esp_adc_cal_get_reading_error()
76 ESP_LOGV(TAG, "big coef is %llu, big term%d is %llu, coef_id is %d", coeff, i, term[i], i); in esp_adc_cal_get_reading_error()
78 term[i] = term[i] / (*param->coeff)[atten][i][1]; in esp_adc_cal_get_reading_error()
Desp_adc_cal_internal.h33 …const uint64_t (*coeff)[COEFF_GROUP_NUM][TERM_MAX][2]; //Coeff of each term. See `adc_error_c… member
/hal_espressif-3.6.0/zephyr/esp_shared/components/esp_adc_cal/
Desp_adc_cal_common.c55 uint64_t coeff = 0; in esp_adc_cal_get_reading_error() local
69 coeff = (*param->coeff)[atten][0][0]; in esp_adc_cal_get_reading_error()
70 term[0] = variable[0] * coeff / (*param->coeff)[atten][0][1]; in esp_adc_cal_get_reading_error()
75 coeff = (*param->coeff)[atten][i][0]; in esp_adc_cal_get_reading_error()
76 term[i] = variable[i] * coeff; in esp_adc_cal_get_reading_error()
78 term[i] = term[i] / (*param->coeff)[atten][i][1]; in esp_adc_cal_get_reading_error()
/hal_espressif-3.6.0/zephyr/esp32s3/include/adc/
Desp_adc_cal_internal.h33 …const uint64_t (*coeff)[COEFF_GROUP_NUM][TERM_MAX][2]; //Coeff of each term. See `adc_error_c… member
/hal_espressif-3.6.0/zephyr/esp_shared/components/include/
Desp_adc_cal_internal.h33 …const uint64_t (*coeff)[COEFF_GROUP_NUM][TERM_MAX][2]; //Coeff of each term. See `adc_error_c… member
/hal_espressif-3.6.0/zephyr/esp32c3/src/esp_adc_cal/
Desp_adc_cal.c179 .coeff = &adc_error_coef_atten, in esp_adc_cal_raw_to_voltage()
/hal_espressif-3.6.0/components/esp_adc_cal/esp32c3/
Desp_adc_cal.c166 .coeff = &adc_error_coef_atten, in esp_adc_cal_raw_to_voltage()
/hal_espressif-3.6.0/components/esp_adc_cal/esp32s3/
Desp_adc_cal.c178 .coeff = (chars->adc_num == ADC_UNIT_1) ? &adc1_error_coef_atten : &adc2_error_coef_atten, in esp_adc_cal_raw_to_voltage()
/hal_espressif-3.6.0/zephyr/esp32s3/src/esp_adc_cal/
Desp_adc_cal.c192 .coeff = (chars->adc_num == ADC_UNIT_1) ? &adc1_error_coef_atten : &adc2_error_coef_atten, in esp_adc_cal_raw_to_voltage()