/hal_espressif-3.6.0/components/driver/test/ |
D | test_dac.c | 138 static bool subtest_adc_dac(int mV_ref, esp_adc_cal_characteristics_t * chars) in subtest_adc_dac() argument 144 uint32_t voltage = esp_adc_cal_raw_to_voltage(raw, chars); in subtest_adc_dac() 161 esp_adc_cal_characteristics_t chars; variable 165 esp_adc_cal_characterize(ADC_UNIT_2, ADC_ATTEN_DB_0, ADC_WIDTH_BIT_13, 0, &chars); 166 printf("a %d, b %d\n", chars.coeff_a, chars.coeff_b); 167 subtest_adc_dac(750, &chars); 171 esp_adc_cal_characterize(ADC_UNIT_2, ADC_ATTEN_DB_2_5, ADC_WIDTH_BIT_13, 0, &chars); 172 printf("a %d, b %d\n", chars.coeff_a, chars.coeff_b); 173 subtest_adc_dac(1100, &chars); 177 esp_adc_cal_characterize(ADC_UNIT_2, ADC_ATTEN_DB_6, ADC_WIDTH_BIT_13, 0, &chars); [all …]
|
D | test_adc.c | 361 …NLINE_ATTR uint32_t get_cali_time_in_ccount(uint32_t adc_raw, esp_adc_cal_characteristics_t *chars) in get_cali_time_in_ccount() argument 367 esp_adc_cal_raw_to_voltage(adc_raw, chars); in get_cali_time_in_ccount()
|
/hal_espressif-3.6.0/components/esp_adc_cal/esp32s3/ |
D | esp_adc_cal.c | 119 …cterization_coefficients(const adc_calib_info_t *parsed_data, esp_adc_cal_characteristics_t *chars) in calculate_characterization_coefficients() argument 121 …chars->coeff_a = coeff_a_scaling * parsed_data->ref_data.ver1.voltage / parsed_data->ref_data.ver1… in calculate_characterization_coefficients() 122 chars->coeff_b = 0; in calculate_characterization_coefficients() 123 …ef_a = %d\n", parsed_data->ref_data.ver1.voltage, parsed_data->ref_data.ver1.digi, chars->coeff_a); in calculate_characterization_coefficients() 130 esp_adc_cal_characteristics_t *chars) in esp_adc_cal_characterize() argument 136 …ESP_RETURN_ON_FALSE(chars != NULL, ESP_ADC_CAL_VAL_NOT_SUPPORTED, LOG_TAG, "Ivalid characteristic"… in esp_adc_cal_characterize() 142 memset(chars, 0, sizeof(esp_adc_cal_characteristics_t)); in esp_adc_cal_characterize() 147 calculate_characterization_coefficients(&calib_info, chars); in esp_adc_cal_characterize() 150 chars->adc_num = adc_num; in esp_adc_cal_characterize() 151 chars->atten = atten; in esp_adc_cal_characterize() [all …]
|
/hal_espressif-3.6.0/zephyr/esp32s3/src/esp_adc_cal/ |
D | esp_adc_cal.c | 122 …cterization_coefficients(const adc_calib_info_t *parsed_data, esp_adc_cal_characteristics_t *chars) in calculate_characterization_coefficients() argument 124 …chars->coeff_a = coeff_a_scaling * parsed_data->ref_data.ver1.voltage / parsed_data->ref_data.ver1… in calculate_characterization_coefficients() 125 chars->coeff_b = 0; in calculate_characterization_coefficients() 126 …ef_a = %d\n", parsed_data->ref_data.ver1.voltage, parsed_data->ref_data.ver1.digi, chars->coeff_a); in calculate_characterization_coefficients() 133 esp_adc_cal_characteristics_t *chars) in esp_adc_cal_characterize() argument 141 if (!chars) { in esp_adc_cal_characterize() 156 memset(chars, 0, sizeof(esp_adc_cal_characteristics_t)); in esp_adc_cal_characterize() 161 calculate_characterization_coefficients(&calib_info, chars); in esp_adc_cal_characterize() 164 chars->adc_num = adc_num; in esp_adc_cal_characterize() 165 chars->atten = atten; in esp_adc_cal_characterize() [all …]
|
/hal_espressif-3.6.0/components/esp_adc_cal/esp32s2/ |
D | esp_adc_cal.c | 125 …zation_coefficients(const adc_calib_parsed_info *parsed_data, esp_adc_cal_characteristics_t *chars) in calculate_characterization_coefficients() argument 133 &(chars->coeff_a), &(chars->coeff_b)); in calculate_characterization_coefficients() 137 chars->coeff_a = coeff_a_scaling * parsed_data->efuse_data.ver2.adc_calib_high_voltage / in calculate_characterization_coefficients() 139 chars->coeff_b = 0; in calculate_characterization_coefficients() 166 esp_adc_cal_characteristics_t *chars) in esp_adc_cal_characterize() argument 172 assert(chars != NULL); in esp_adc_cal_characterize() 178 res = calculate_characterization_coefficients(&efuse_parsed_data, chars); in esp_adc_cal_characterize() 180 …d (atten leven %d) calibration done: A:%d B:%d\n", adc_num, atten, chars->coeff_a, chars->coeff_b); in esp_adc_cal_characterize() 183 chars->adc_num = adc_num; in esp_adc_cal_characterize() 184 chars->atten = atten; in esp_adc_cal_characterize() [all …]
|
/hal_espressif-3.6.0/zephyr/esp32s2/src/esp_adc_cal/ |
D | esp_adc_cal.c | 124 …zation_coefficients(const adc_calib_parsed_info *parsed_data, esp_adc_cal_characteristics_t *chars) in calculate_characterization_coefficients() argument 132 &(chars->coeff_a), &(chars->coeff_b)); in calculate_characterization_coefficients() 136 chars->coeff_a = coeff_a_scaling * parsed_data->efuse_data.ver2.adc_calib_high_voltage / in calculate_characterization_coefficients() 138 chars->coeff_b = 0; in calculate_characterization_coefficients() 165 esp_adc_cal_characteristics_t *chars) in esp_adc_cal_characterize() argument 171 assert(chars != NULL); in esp_adc_cal_characterize() 177 res = calculate_characterization_coefficients(&efuse_parsed_data, chars); in esp_adc_cal_characterize() 179 …d (atten leven %d) calibration done: A:%d B:%d\n", adc_num, atten, chars->coeff_a, chars->coeff_b); in esp_adc_cal_characterize() 182 chars->adc_num = adc_num; in esp_adc_cal_characterize() 183 chars->atten = atten; in esp_adc_cal_characterize() [all …]
|
/hal_espressif-3.6.0/components/esp_adc_cal/esp32c3/ |
D | esp_adc_cal.c | 98 …tion_coefficients(const adc_calib_parsed_info_t *parsed_data, esp_adc_cal_characteristics_t *chars) in calculate_characterization_coefficients() argument 102 …chars->coeff_a = coeff_a_scaling * parsed_data->efuse_data.ver1.voltage / parsed_data->efuse_data.… in calculate_characterization_coefficients() 103 chars->coeff_b = 0; in calculate_characterization_coefficients() 124 esp_adc_cal_characteristics_t *chars) in esp_adc_cal_characterize() argument 130 …ESP_RETURN_ON_FALSE(chars != NULL, ESP_ADC_CAL_VAL_NOT_SUPPORTED, LOG_TAG, "Ivalid characteristic"… in esp_adc_cal_characterize() 137 memset(chars, 0, sizeof(esp_adc_cal_characteristics_t)); in esp_adc_cal_characterize() 145 calculate_characterization_coefficients(&efuse_parsed_data, chars); in esp_adc_cal_characterize() 146 …d (atten leven %d) calibration done: A:%d B:%d\n", adc_num, atten, chars->coeff_a, chars->coeff_b); in esp_adc_cal_characterize() 149 chars->adc_num = adc_num; in esp_adc_cal_characterize() 150 chars->atten = atten; in esp_adc_cal_characterize() [all …]
|
/hal_espressif-3.6.0/zephyr/esp32/src/esp_adc_cal/ |
D | esp_adc_cal.c | 286 esp_adc_cal_characteristics_t *chars) in esp_adc_cal_characterize() argument 290 assert(chars != NULL); in esp_adc_cal_characterize() 302 characterize_using_two_point(adc_num, atten, high, low, &chars->coeff_a, &chars->coeff_b); in esp_adc_cal_characterize() 307 characterize_using_vref(adc_num, atten, vref, &chars->coeff_a, &chars->coeff_b); in esp_adc_cal_characterize() 311 characterize_using_vref(adc_num, atten, default_vref, &chars->coeff_a, &chars->coeff_b); in esp_adc_cal_characterize() 316 chars->adc_num = adc_num; in esp_adc_cal_characterize() 317 chars->atten = atten; in esp_adc_cal_characterize() 318 chars->bit_width = bit_width; in esp_adc_cal_characterize() 319 chars->vref = (EFUSE_VREF_ENABLED && efuse_vref_present) ? read_efuse_vref() : default_vref; in esp_adc_cal_characterize() 322 chars->low_curve = (adc_num == ADC_UNIT_1) ? lut_adc1_low : lut_adc2_low; in esp_adc_cal_characterize() [all …]
|
/hal_espressif-3.6.0/components/esp_adc_cal/esp32/ |
D | esp_adc_cal.c | 287 esp_adc_cal_characteristics_t *chars) in esp_adc_cal_characterize() argument 291 assert(chars != NULL); in esp_adc_cal_characterize() 303 characterize_using_two_point(adc_num, atten, high, low, &chars->coeff_a, &chars->coeff_b); in esp_adc_cal_characterize() 308 characterize_using_vref(adc_num, atten, vref, &chars->coeff_a, &chars->coeff_b); in esp_adc_cal_characterize() 312 characterize_using_vref(adc_num, atten, default_vref, &chars->coeff_a, &chars->coeff_b); in esp_adc_cal_characterize() 317 chars->adc_num = adc_num; in esp_adc_cal_characterize() 318 chars->atten = atten; in esp_adc_cal_characterize() 319 chars->bit_width = bit_width; in esp_adc_cal_characterize() 320 chars->vref = (EFUSE_VREF_ENABLED && efuse_vref_present) ? read_efuse_vref() : default_vref; in esp_adc_cal_characterize() 323 chars->low_curve = (adc_num == ADC_UNIT_1) ? lut_adc1_low : lut_adc2_low; in esp_adc_cal_characterize() [all …]
|
/hal_espressif-3.6.0/zephyr/esp32c3/src/esp_adc_cal/ |
D | esp_adc_cal.c | 101 …tion_coefficients(const adc_calib_parsed_info_t *parsed_data, esp_adc_cal_characteristics_t *chars) in calculate_characterization_coefficients() argument 105 …chars->coeff_a = coeff_a_scaling * parsed_data->efuse_data.ver1.voltage / parsed_data->efuse_data.… in calculate_characterization_coefficients() 106 chars->coeff_b = 0; in calculate_characterization_coefficients() 128 esp_adc_cal_characteristics_t *chars) in esp_adc_cal_characterize() argument 136 if (!chars) { in esp_adc_cal_characterize() 151 memset(chars, 0, sizeof(esp_adc_cal_characteristics_t)); in esp_adc_cal_characterize() 159 calculate_characterization_coefficients(&efuse_parsed_data, chars); in esp_adc_cal_characterize() 162 chars->adc_num = adc_num; in esp_adc_cal_characterize() 163 chars->atten = atten; in esp_adc_cal_characterize() 164 chars->bit_width = bit_width; in esp_adc_cal_characterize() [all …]
|
/hal_espressif-3.6.0/zephyr/esp_shared/components/esp_adc_cal/ |
D | esp_adc_cal_common.c | 18 const esp_adc_cal_characteristics_t *chars, in esp_adc_cal_get_voltage() argument 21 if (!chars || !voltage) { in esp_adc_cal_get_voltage() 27 if (chars->adc_num == ADC_UNIT_1) { in esp_adc_cal_get_voltage() 36 ret = adc2_get_raw(channel, chars->bit_width, &adc_reading); in esp_adc_cal_get_voltage() 38 *voltage = esp_adc_cal_raw_to_voltage((uint32_t)adc_reading, chars); in esp_adc_cal_get_voltage()
|
/hal_espressif-3.6.0/components/esp_adc_cal/ |
D | esp_adc_cal_common.c | 21 const esp_adc_cal_characteristics_t *chars, in esp_adc_cal_get_voltage() argument 25 ESP_RETURN_ON_FALSE(chars != NULL, ESP_ERR_INVALID_ARG, TAG, "No characteristic input"); in esp_adc_cal_get_voltage() 30 if (chars->adc_num == ADC_UNIT_1) { in esp_adc_cal_get_voltage() 35 ret = adc2_get_raw(channel, chars->bit_width, &adc_reading); in esp_adc_cal_get_voltage() 37 *voltage = esp_adc_cal_raw_to_voltage((uint32_t)adc_reading, chars); in esp_adc_cal_get_voltage()
|
/hal_espressif-3.6.0/components/esp_adc_cal/include/ |
D | esp_adc_cal.h | 92 esp_adc_cal_characteristics_t *chars); 108 …t32_t esp_adc_cal_raw_to_voltage(uint32_t adc_reading, const esp_adc_cal_characteristics_t *chars); 129 esp_err_t esp_adc_cal_get_voltage(adc_channel_t channel, const esp_adc_cal_characteristics_t *chars…
|
/hal_espressif-3.6.0/zephyr/esp_shared/components/include/ |
D | esp_adc_cal.h | 92 esp_adc_cal_characteristics_t *chars); 108 …t32_t esp_adc_cal_raw_to_voltage(uint32_t adc_reading, const esp_adc_cal_characteristics_t *chars); 129 esp_err_t esp_adc_cal_get_voltage(adc_channel_t channel, const esp_adc_cal_characteristics_t *chars…
|
/hal_espressif-3.6.0/tools/ble/ |
D | lib_ble_client.py | 69 self.chars = [] 351 service.chars.append(char) 372 for char in service.chars: 401 if not service.chars: 404 for char in service.chars: 435 for char in service.chars: 605 chars = self.gatt_app.service.get_characteristics() 606 for char in chars:
|
/hal_espressif-3.6.0/components/app_update/ |
D | Kconfig.projbuild | 40 int "The length of APP ELF SHA is stored in RAM(chars)"
|
/hal_espressif-3.6.0/docs/en/api-reference/system/ |
D | system.rst | 193 …`esp_image_segment_header_t` structures. The field version has string type and max length 32 chars.
|
/hal_espressif-3.6.0/examples/bluetooth/bluedroid/ble/gatt_client/tutorial/ |
D | Gatt_Client_Example_Walkthrough.md | 620 … instead of the remote devices. In a server, there might be more than one chars sharing the same U…
|
/hal_espressif-3.6.0/components/freertos/ |
D | History.txt | 2148 + Changed the WinAVR makefile to make chars signed - needed for the
|