Home
last modified time | relevance | path

Searched refs:voltage (Results 1 – 25 of 51) sorted by relevance

123

/hal_espressif-latest/components/esp_adc/deprecated/esp32s3/
Desp_adc_cal_legacy.c71 uint32_t voltage; member
95 uint32_t voltage = 0; in get_reference_point() local
97 ret = esp_efuse_rtc_calib_get_cal_voltage(version_num, adc_num, atten, &digi, &voltage); in get_reference_point()
99 calib_info->ref_data.ver1.voltage = voltage; in get_reference_point()
122 …chars->coeff_a = coeff_a_scaling * parsed_data->ref_data.ver1.voltage / parsed_data->ref_data.ver1… in calculate_characterization_coefficients()
124 … Digi out = %"PRId32", Coef_a = %"PRId32"\n", parsed_data->ref_data.ver1.voltage, parsed_data->ref… in calculate_characterization_coefficients()
165 uint32_t voltage = 0; in esp_adc_cal_raw_to_voltage() local
184 voltage = (int32_t)v_cali_1 - error; in esp_adc_cal_raw_to_voltage()
186 return voltage; in esp_adc_cal_raw_to_voltage()
/hal_espressif-latest/zephyr/esp32c3/src/esp_adc_cal/
Desp_adc_cal.c64 uint32_t voltage; member
86 uint32_t voltage, digi; in prepare_calib_data_for() local
87 ret = esp_efuse_rtc_calib_get_cal_voltage(version_num, adc_num, atten, &digi, &voltage); in prepare_calib_data_for()
91 parsed_data_storage->efuse_data.ver1.voltage = voltage; in prepare_calib_data_for()
103 …LOG_DBG("Calib V1, Cal Voltage = %d, Digi out = %d\n", parsed_data->efuse_data.ver1.voltage, parse… in calculate_characterization_coefficients()
105 …chars->coeff_a = coeff_a_scaling * parsed_data->efuse_data.ver1.voltage / parsed_data->efuse_data.… in calculate_characterization_coefficients()
/hal_espressif-latest/components/esp_adc/deprecated/esp32c3/
Desp_adc_cal_legacy.c62 uint32_t voltage; member
83 uint32_t voltage, digi; in prepare_calib_data_for() local
88 ret = esp_efuse_rtc_calib_get_cal_voltage(version_num, adc_num, atten, &digi, &voltage); in prepare_calib_data_for()
92 parsed_data_storage->efuse_data.ver1.voltage = voltage; in prepare_calib_data_for()
104 …l Voltage = %"PRId32", Digi out = %"PRId32, parsed_data->efuse_data.ver1.voltage, parsed_data->efu… in calculate_characterization_coefficients()
106 …chars->coeff_a = coeff_a_scaling * parsed_data->efuse_data.ver1.voltage / parsed_data->efuse_data.… in calculate_characterization_coefficients()
/hal_espressif-latest/tools/esptool_py/docs/en/espefuse/
Dset-flash-voltage-cmd.rst1 .. _set-flash-voltage-cmd:
12 …ternal flash voltage regulator to either 1.8V, 3.3V or OFF. This means a GPIO can be high or low a…
16 - ``voltage`` - Voltage selection ['1.8V', '3.3V', 'OFF'].
27 After reset, the default {IDF_TARGET_NAME} behaviour is to enable and configure the flash voltage r…
47 …haviour and disable {IDF_TARGET_VDD_SPI} regulator, or set it to a fixed voltage. These efuses can…
60 * Flash must be powered externally and voltage supplied to {IDF_TARGET_VDD_SPI} pin of {IDF_TARGET_…
74 * External voltage should not be supplied to {IDF_TARGET_VDD_SPI}.
88 * External voltage should not be supplied to {IDF_TARGET_VDD_SPI}.
107 Set internal flash voltage regulator (VDD_SPI) to 1.8V.
128 Enable internal flash voltage regulator (VDD_SPI) to 3.3V.
[all …]
/hal_espressif-latest/components/esp_adc/
Dadc_cali_curve_fitting.c32 uint32_t voltage; member
66 static esp_err_t cali_raw_to_voltage(void *arg, int raw, int *voltage);
127 static esp_err_t cali_raw_to_voltage(void *arg, int raw, int *voltage) in cali_raw_to_voltage() argument
145 *voltage = (int32_t)v_cali_1 - error; in cali_raw_to_voltage()
162 uint32_t voltage = 0; in get_first_step_reference_point() local
164 ret = esp_efuse_rtc_calib_get_cal_voltage(version_num, unit_id, (int)atten, &digi, &voltage); in get_first_step_reference_point()
166 calib_info->ref_data.ver1.voltage = voltage; in get_first_step_reference_point()
176 …ctx->chars_first_step.coeff_a = coeff_a_scaling * parsed_data->ref_data.ver1.voltage / parsed_data… in calc_first_step_coefficients()
178 … Digi out = %"PRId32", Coef_a = %"PRId32"\n", parsed_data->ref_data.ver1.voltage, parsed_data->ref… in calc_first_step_coefficients()
Dadc_cali.c40 esp_err_t adc_cali_raw_to_voltage(adc_cali_handle_t handle, int raw, int *voltage) in adc_cali_raw_to_voltage() argument
42 …ESP_RETURN_ON_FALSE(handle && voltage, ESP_ERR_INVALID_ARG, TAG, "invalid argument: null pointer"); in adc_cali_raw_to_voltage()
45 return handle->raw_to_voltage(handle->ctx, raw, voltage); in adc_cali_raw_to_voltage()
/hal_espressif-latest/components/esp_system/port/soc/esp32c2/
DKconfig.system7 … The ESP32-C2 has a built-in brownout detector which can detect if the voltage is lower than
12 prompt "Brownout voltage level"
16 The brownout detector will reset the chip when the supply voltage is approximately
17 below this level. Note that there may be some variation of brownout voltage level
20 …#The voltage levels here are estimates, more work needs to be done to figure out the exact voltages
/hal_espressif-latest/components/esp_system/port/soc/esp32c3/
DKconfig.system7 … The ESP32-C3 has a built-in brownout detector which can detect if the voltage is lower than
12 prompt "Brownout voltage level"
16 The brownout detector will reset the chip when the supply voltage is approximately
17 below this level. Note that there may be some variation of brownout voltage level
20 …#The voltage levels here are estimates, more work needs to be done to figure out the exact voltages
/hal_espressif-latest/components/esp_system/port/soc/esp32c6/
DKconfig.system7 … The ESP32-C6 has a built-in brownout detector which can detect if the voltage is lower than
12 prompt "Brownout voltage level"
16 The brownout detector will reset the chip when the supply voltage is approximately
17 below this level. Note that there may be some variation of brownout voltage level
20 …#The voltage levels here are estimates, more work needs to be done to figure out the exact voltages
/hal_espressif-latest/components/esp_system/port/soc/esp32h2/
DKconfig.system7 … The ESP32-H2 has a built-in brownout detector which can detect if the voltage is lower than
12 prompt "Brownout voltage level"
16 The brownout detector will reset the chip when the supply voltage is approximately
17 below this level. Note that there may be some variation of brownout voltage level
20 …#The voltage levels here are estimates, more work needs to be done to figure out the exact voltages
/hal_espressif-latest/components/esp_system/port/soc/esp32s3/
DKconfig.system8 … The ESP32-S3 has a built-in brownout detector which can detect if the voltage is lower than
13 prompt "Brownout voltage level"
17 The brownout detector will reset the chip when the supply voltage is approximately
18 below this level. Note that there may be some variation of brownout voltage level
21 …#The voltage levels here are estimates, more work needs to be done to figure out the exact voltages
/hal_espressif-latest/components/esp_system/port/soc/esp32s2/
DKconfig.system8 … The ESP32-S2 has a built-in brownout detector which can detect if the voltage is lower than
13 prompt "Brownout voltage level"
17 The brownout detector will reset the chip when the supply voltage is approximately
18 below this level. Note that there may be some variation of brownout voltage level
21 …#The voltage levels here are estimates, more work needs to be done to figure out the exact voltages
/hal_espressif-latest/components/esp_system/port/soc/esp32/
DKconfig.system8 The ESP has a built-in brownout detector which can detect if the voltage is lower than
13 prompt "Brownout voltage level"
17 The brownout detector will reset the chip when the supply voltage is approximately
18 below this level. Note that there may be some variation of brownout voltage level
21 …#The voltage levels here are estimates, more work needs to be done to figure out the exact voltages
/hal_espressif-latest/components/esp_adc/esp32/
Dadc_cali_line_fitting.c138 static esp_err_t cali_raw_to_voltage(void *arg, int raw, int *voltage);
244 static esp_err_t cali_raw_to_voltage(void *arg, int raw, int *voltage) in cali_raw_to_voltage() argument
262 …*voltage = interpolate_two_points(linear_voltage, lut_voltage, LUT_ADC_STEP_SIZE, (raw - LUT_LOW_T… in cali_raw_to_voltage()
264 *voltage = lut_voltage; in cali_raw_to_voltage()
267 *voltage = calculate_voltage_linear(raw, ctx->coeff_a, ctx->coeff_b); in cali_raw_to_voltage()
431 …int voltage = (q11 * x2dist * y2dist) + (q21 * x1dist * y2dist) + (q12 * x2dist * y1dist) + (q22 *… in calculate_voltage_lut() local
432 voltage += ((LUT_VREF_HIGH - LUT_VREF_LOW) * LUT_ADC_STEP_SIZE) / 2; //Integer division rounding in calculate_voltage_lut()
433voltage /= ((LUT_VREF_HIGH - LUT_VREF_LOW) * LUT_ADC_STEP_SIZE); //Divide by ((x2-x1)*(y2-y1)) in calculate_voltage_lut()
434 return (uint32_t)voltage; in calculate_voltage_lut()
/hal_espressif-latest/tools/esptool_py/espefuse/efuse/esp32/
Doperations.py149 if args.voltage == "OFF" and sdio_reg.get() != 0:
154 if args.voltage == "1.8V" and sdio_tieh.get() != 0:
159 if args.voltage == "OFF":
167 elif args.voltage == "1.8V":
172 elif args.voltage == "3.3V":
177 if args.voltage != "OFF":
179 if args.voltage == "3.3V":
/hal_espressif-latest/components/esp_adc/deprecated/
Desp_adc_cal_common_legacy.c27 uint32_t *voltage) in esp_adc_cal_get_voltage() argument
31 ESP_RETURN_ON_FALSE(voltage != NULL, ESP_ERR_INVALID_ARG, TAG, "No output buffer"); in esp_adc_cal_get_voltage()
44 *voltage = esp_adc_cal_raw_to_voltage((uint32_t)adc_reading, chars); in esp_adc_cal_get_voltage()
/hal_espressif-latest/components/esp_adc/esp32c2/
Dadc_cali_line_fitting.c48 static esp_err_t cali_raw_to_voltage(void *arg, int raw, int *voltage);
112 static esp_err_t cali_raw_to_voltage(void *arg, int raw, int *voltage) in cali_raw_to_voltage() argument
117 *voltage = raw * ctx->coeff_a / coeff_a_scaling + ctx->coeff_b; in cali_raw_to_voltage()
/hal_espressif-latest/tools/esptool_py/espefuse/efuse/esp32s2/
Doperations.py197 if args.voltage == "OFF" and sdio_reg.get() != 0:
202 if args.voltage == "1.8V" and sdio_tieh.get() != 0:
207 if args.voltage == "OFF":
215 elif args.voltage == "1.8V":
220 elif args.voltage == "3.3V":
226 if args.voltage != "OFF":
228 if args.voltage == "3.3V":
/hal_espressif-latest/tools/esptool_py/espefuse/efuse/esp32s3/
Doperations.py197 if args.voltage == "OFF" and sdio_reg.get() != 0:
202 if args.voltage == "1.8V" and sdio_tieh.get() != 0:
207 if args.voltage == "OFF":
215 elif args.voltage == "1.8V":
220 elif args.voltage == "3.3V":
226 if args.voltage != "OFF":
228 if args.voltage == "3.3V":
/hal_espressif-latest/tools/esptool_py/espefuse/efuse/esp32s3beta2/
Doperations.py197 if args.voltage == "OFF" and sdio_reg.get() != 0:
202 if args.voltage == "1.8V" and sdio_tieh.get() != 0:
207 if args.voltage == "OFF":
215 elif args.voltage == "1.8V":
220 elif args.voltage == "3.3V":
226 if args.voltage != "OFF":
228 if args.voltage == "3.3V":
/hal_espressif-latest/tools/esptool_py/esptool/targets/
Desp32.py358 voltage = self._get_rtc_cntl_flash_voltage()
360 if not voltage:
361 voltage = self._get_efuse_flash_voltage()
363 if not voltage:
366 voltage = "1.8V" if strap_reg else "3.3V"
/hal_espressif-latest/components/esp_adc/interface/
Dadc_cali_interface.h34 esp_err_t (*raw_to_voltage)(void *arg, int raw, int *voltage);
/hal_espressif-latest/components/esp_adc/deprecated/esp32/
Desp_adc_cal_legacy.c252 …int voltage = (q11 * x2dist * y2dist) + (q21 * x1dist * y2dist) + (q12 * x2dist * y1dist) + (q22 *… in calculate_voltage_lut() local
253 voltage += ((LUT_VREF_HIGH - LUT_VREF_LOW) * LUT_ADC_STEP_SIZE) / 2; //Integer division rounding in calculate_voltage_lut()
254voltage /= ((LUT_VREF_HIGH - LUT_VREF_LOW) * LUT_ADC_STEP_SIZE); //Divide by ((x2-x1)*(y2-y1)) in calculate_voltage_lut()
255 return (uint32_t)voltage; in calculate_voltage_lut()
/hal_espressif-latest/components/esp_adc/include/esp_adc/
Dadc_cali.h54 esp_err_t adc_cali_raw_to_voltage(adc_cali_handle_t handle, int raw, int *voltage);
/hal_espressif-latest/components/efuse/esp32s3/
Desp_efuse_table.csv147 … EFUSE_BLK0, 69, 1, [] If VDD_SPI_FORCE is 1; determines VDD_SPI voltage {0: "VDD_SPI conn…
211 V_RTC_DBIAS20, EFUSE_BLK1, 155, 8, [] BLOCK1 voltage of rtc dbi…
212 V_DIG_DBIAS20, EFUSE_BLK1, 163, 8, [] BLOCK1 voltage of digital…
216 ADC2_CAL_VOL_ATTEN3, EFUSE_BLK1, 186, 6, [] ADC2 calibration voltage
229 ADC1_CAL_VOL_ATTEN0, EFUSE_BLK2, 201, 8, [] ADC1 calibration voltage
230 ADC1_CAL_VOL_ATTEN1, EFUSE_BLK2, 209, 8, [] ADC1 calibration voltage
231 ADC1_CAL_VOL_ATTEN2, EFUSE_BLK2, 217, 8, [] ADC1 calibration voltage
232 ADC1_CAL_VOL_ATTEN3, EFUSE_BLK2, 225, 8, [] ADC1 calibration voltage
233 ADC2_CAL_VOL_ATTEN0, EFUSE_BLK2, 233, 8, [] ADC2 calibration voltage
234 ADC2_CAL_VOL_ATTEN1, EFUSE_BLK2, 241, 7, [] ADC2 calibration voltage
[all …]

123