Home
last modified time | relevance | path

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

1234

/hal_espressif-3.5.0/zephyr/esp32s3/src/esp_adc_cal/
Desp_adc_cal.c73 uint32_t voltage; member
97 uint32_t voltage = 0; in get_reference_point() local
99 …_rtc_calib_get_cal_voltage(version_num, ((adc_num == ADC_UNIT_1) ? 0 : 1), atten, &digi, &voltage); in get_reference_point()
101 calib_info->ref_data.ver1.voltage = voltage; in get_reference_point()
124 …chars->coeff_a = coeff_a_scaling * parsed_data->ref_data.ver1.voltage / parsed_data->ref_data.ver1… in calculate_characterization_coefficients()
126 … Voltage = %d, Digi out = %d, Coef_a = %d\n", parsed_data->ref_data.ver1.voltage, parsed_data->ref… in calculate_characterization_coefficients()
178 uint32_t voltage = 0; in esp_adc_cal_raw_to_voltage() local
197 voltage = (int32_t)v_cali_1 - error; in esp_adc_cal_raw_to_voltage()
199 return voltage; in esp_adc_cal_raw_to_voltage()
/hal_espressif-3.5.0/components/esp_adc_cal/esp32s3/
Desp_adc_cal.c70 uint32_t voltage; member
94 uint32_t voltage = 0; in get_reference_point() local
96 …_rtc_calib_get_cal_voltage(version_num, ((adc_num == ADC_UNIT_1) ? 0 : 1), atten, &digi, &voltage); in get_reference_point()
98 calib_info->ref_data.ver1.voltage = voltage; in get_reference_point()
121 …chars->coeff_a = coeff_a_scaling * parsed_data->ref_data.ver1.voltage / parsed_data->ref_data.ver1… in calculate_characterization_coefficients()
123 … Voltage = %d, Digi out = %d, Coef_a = %d\n", parsed_data->ref_data.ver1.voltage, parsed_data->ref… in calculate_characterization_coefficients()
164 uint32_t voltage = 0; in esp_adc_cal_raw_to_voltage() local
183 voltage = (int32_t)v_cali_1 - error; in esp_adc_cal_raw_to_voltage()
185 return voltage; in esp_adc_cal_raw_to_voltage()
/hal_espressif-3.5.0/examples/peripherals/wave_gen/
DREADME.md32 * Set the `Enable output voltage log` if you want to print the log in the terminal.
50 After the raw value calculation, the real output voltage can be converted through the following for…
54 The voltage is within the range of 0~3300 mV.
56 #### Enable output voltage log
60 If enabled, the expected voltage of each point will be printed on the terminal.
87 The output log will be shown in the terminal as the following (if `Enable output voltage log` is en…
96 I (438) Wave generator: Output voltage(mV): 1656
97 I (538) Wave generator: Output voltage(mV): 1863
98 I (638) Wave generator: Output voltage(mV): 2083
99 I (738) Wave generator: Output voltage(mV): 2290
[all …]
/hal_espressif-3.5.0/components/esptool_py/esptool/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-3.5.0/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, 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-3.5.0/components/esp_adc_cal/esp32c3/
Desp_adc_cal.c61 uint32_t voltage; member
83 uint32_t voltage, digi; in prepare_calib_data_for() local
84 ret = esp_efuse_rtc_calib_get_cal_voltage(version_num, atten, &digi, &voltage); in prepare_calib_data_for()
88 parsed_data_storage->efuse_data.ver1.voltage = voltage; in prepare_calib_data_for()
100 …lib V1, Cal Voltage = %d, Digi out = %d\n", parsed_data->efuse_data.ver1.voltage, parsed_data->efu… in calculate_characterization_coefficients()
102 …chars->coeff_a = coeff_a_scaling * parsed_data->efuse_data.ver1.voltage / parsed_data->efuse_data.… in calculate_characterization_coefficients()
/hal_espressif-3.5.0/examples/peripherals/adc/single_read/single_read/main/
Dsingle_read.c80 uint32_t voltage = 0; in app_main() local
93 voltage = esp_adc_cal_raw_to_voltage(adc_raw[0][0], &adc1_chars); in app_main()
94 ESP_LOGI(TAG_CH[0][0], "cali data: %d mV", voltage); in app_main()
105 voltage = esp_adc_cal_raw_to_voltage(adc_raw[1][0], &adc2_chars); in app_main()
106 ESP_LOGI(TAG_CH[1][0], "cali data: %d mV", voltage); in app_main()
/hal_espressif-3.5.0/docs/en/api-reference/peripherals/
Dadc.rst57voltage used internally by {IDF_TARGET_NAME} ADCs for measuring the input voltage. The {IDF_TARGET…
60 Attenuation Measurable input voltage range
80 An ADC conversion is to convert the input analog voltage to a digital value. The ADC conversion res…
89 To calculate the voltage based on the ADC raw results, this formula can be used:
98 Vout Digital output result, standing for the voltage.
100 Vmax Maximum measurable input analog voltage, see :ref:`adc_attenuation`.
104 …et the calibrated conversion results. These results stand for the actual voltage (in mV). No need …
192 …c function :cpp:func:`adc_vref_to_gpio` used to route internal reference voltage to a GPIO pin. It…
219 …ref) between chips. Per design the ADC reference voltage is 1100 mV, however the true reference vo…
223 :alt: ADC reference voltage comparison
[all …]
/hal_espressif-3.5.0/components/esptool_py/esptool/espefuse/efuse/esp32/
Doperations.py146 if args.voltage == "OFF" and sdio_reg.get() != 0:
151 if args.voltage == "1.8V" and sdio_tieh.get() != 0:
156 if args.voltage == "OFF":
164 elif args.voltage == "1.8V":
169 elif args.voltage == "3.3V":
174 if args.voltage != "OFF":
176 if args.voltage == "3.3V":
/hal_espressif-3.5.0/zephyr/esp_shared/components/esp_adc_cal/
Desp_adc_cal_common.c19 uint32_t *voltage) in esp_adc_cal_get_voltage() argument
21 if (!chars || !voltage) { 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.5.0/components/esp_adc_cal/
Desp_adc_cal_common.c22 uint32_t *voltage) in esp_adc_cal_get_voltage() argument
26 ESP_RETURN_ON_FALSE(voltage != NULL, ESP_ERR_INVALID_ARG, TAG, "No output buffer"); 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.5.0/components/esptool_py/esptool/espefuse/efuse/esp32s2/
Doperations.py194 if args.voltage == "OFF" and sdio_reg.get() != 0:
199 if args.voltage == "1.8V" and sdio_tieh.get() != 0:
204 if args.voltage == "OFF":
212 elif args.voltage == "1.8V":
217 elif args.voltage == "3.3V":
223 if args.voltage != "OFF":
225 if args.voltage == "3.3V":
/hal_espressif-3.5.0/components/esptool_py/esptool/espefuse/efuse/esp32s3/
Doperations.py194 if args.voltage == "OFF" and sdio_reg.get() != 0:
199 if args.voltage == "1.8V" and sdio_tieh.get() != 0:
204 if args.voltage == "OFF":
212 elif args.voltage == "1.8V":
217 elif args.voltage == "3.3V":
223 if args.voltage != "OFF":
225 if args.voltage == "3.3V":
/hal_espressif-3.5.0/components/esptool_py/esptool/espefuse/efuse/esp32s3beta2/
Doperations.py194 if args.voltage == "OFF" and sdio_reg.get() != 0:
199 if args.voltage == "1.8V" and sdio_tieh.get() != 0:
204 if args.voltage == "OFF":
212 elif args.voltage == "1.8V":
217 elif args.voltage == "3.3V":
223 if args.voltage != "OFF":
225 if args.voltage == "3.3V":
/hal_espressif-3.5.0/components/efuse/esp32s3/
Desp_efuse_table.csv133 …ADC2_CAL_VOL_ATTEN3, EFUSE_BLK1, 186, 6, ADC2 calibration voltage at atte…
149 …ADC1_CAL_VOL_ATTEN0, EFUSE_BLK2, 201, 8, ADC1 calibration voltage at atte…
150 …ADC1_CAL_VOL_ATTEN1, EFUSE_BLK2, 209, 8, ADC1 calibration voltage at atte…
151 …ADC1_CAL_VOL_ATTEN2, EFUSE_BLK2, 217, 8, ADC1 calibration voltage at atte…
152 …ADC1_CAL_VOL_ATTEN3, EFUSE_BLK2, 225, 8, ADC1 calibration voltage at atte…
153 …ADC2_CAL_VOL_ATTEN0, EFUSE_BLK2, 233, 8, ADC2 calibration voltage at atte…
154 …ADC2_CAL_VOL_ATTEN1, EFUSE_BLK2, 241, 7, ADC2 calibration voltage at atte…
155 …ADC2_CAL_VOL_ATTEN2, EFUSE_BLK2, 248, 7, ADC2 calibration voltage at atte…
/hal_espressif-3.5.0/components/esp32h2/
DKconfig60 … The ESP32-C3 has a built-in brownout detector which can detect if the voltage is lower than
65 prompt "Brownout voltage level"
69 The brownout detector will reset the chip when the supply voltage is approximately
70 below this level. Note that there may be some variation of brownout voltage level
73 …#The voltage levels here are estimates, more work needs to be done to figure out the exact voltages
192 voltage is higher than 6 V
195 The hardware design needs to controlled it with determined supply or ground voltage
/hal_espressif-3.5.0/examples/system/ulp_fsm/ulp_adc/
DREADME.md8 …ogram periodically measures the input voltage on GPIO34. The voltage is compared to two thresholds…
/hal_espressif-3.5.0/components/efuse/esp32c3/
Desp_efuse_table.csv135 …ADC1_CAL_VOL_ATTEN0, EFUSE_BLK2, 188, 10, ADC1 calibration voltage at atte…
136 …ADC1_CAL_VOL_ATTEN1, EFUSE_BLK2, 198, 10, ADC1 calibration voltage at atte…
137 …ADC1_CAL_VOL_ATTEN2, EFUSE_BLK2, 208, 10, ADC1 calibration voltage at atte…
138 …ADC1_CAL_VOL_ATTEN3, EFUSE_BLK2, 218, 10, ADC1 calibration voltage at atte…
157 V_RTC_DBIAS20, EFUSE_BLK1, 149, 8, BLOCK1 voltage of rtc dbias20
158 V_DIG_DBIAS20, EFUSE_BLK1, 157, 8, BLOCK1 voltage of digital db…
/hal_espressif-3.5.0/components/esp32c3/
DKconfig64 … The ESP32-C3 has a built-in brownout detector which can detect if the voltage is lower than
69 prompt "Brownout voltage level"
73 The brownout detector will reset the chip when the supply voltage is approximately
74 below this level. Note that there may be some variation of brownout voltage level
77 …#The voltage levels here are estimates, more work needs to be done to figure out the exact voltages
/hal_espressif-3.5.0/examples/peripherals/adc/single_read/adc/main/
Dadc1_example_main.c104 uint32_t voltage = esp_adc_cal_raw_to_voltage(adc_reading, adc_chars); in app_main() local
105 printf("Raw: %d\tVoltage: %dmV\n", adc_reading, voltage); in app_main()
/hal_espressif-3.5.0/zephyr/esp32/src/esp_adc_cal/
Desp_adc_cal.c258 …int voltage = (q11 * x2dist * y2dist) + (q21 * x1dist * y2dist) + (q12 * x2dist * y1dist) + (q22 *… in calculate_voltage_lut() local
259 voltage += ((LUT_VREF_HIGH - LUT_VREF_LOW) * LUT_ADC_STEP_SIZE) / 2; //Integer division rounding in calculate_voltage_lut()
260voltage /= ((LUT_VREF_HIGH - LUT_VREF_LOW) * LUT_ADC_STEP_SIZE); //Divide by ((x2-x1)*(y2-y1)) in calculate_voltage_lut()
261 return (uint32_t)voltage; in calculate_voltage_lut()
/hal_espressif-3.5.0/components/esp_adc_cal/esp32/
Desp_adc_cal.c259 …int voltage = (q11 * x2dist * y2dist) + (q21 * x1dist * y2dist) + (q12 * x2dist * y1dist) + (q22 *… in calculate_voltage_lut() local
260 voltage += ((LUT_VREF_HIGH - LUT_VREF_LOW) * LUT_ADC_STEP_SIZE) / 2; //Integer division rounding in calculate_voltage_lut()
261voltage /= ((LUT_VREF_HIGH - LUT_VREF_LOW) * LUT_ADC_STEP_SIZE); //Divide by ((x2-x1)*(y2-y1)) in calculate_voltage_lut()
262 return (uint32_t)voltage; in calculate_voltage_lut()
/hal_espressif-3.5.0/examples/peripherals/i2s/i2s_adc_dac/main/
Dapp_main.c279 uint32_t voltage; in adc_read_task() local
280 esp_adc_cal_get_voltage(ADC1_TEST_CHANNEL, &characteristics, &voltage); in adc_read_task()
281 ESP_LOGI(TAG, "%d mV", voltage); in adc_read_task()
/hal_espressif-3.5.0/examples/protocols/pppos_client/components/modem/src/
Dsim7600.c96 …err_t sim7600_get_battery_status(modem_dce_t *dce, uint32_t *bcs, uint32_t *bcl, uint32_t *voltage) in sim7600_get_battery_status() argument
100 uint32_t *resource[3] = {bcs, bcl, voltage}; in sim7600_get_battery_status()
/hal_espressif-3.5.0/examples/peripherals/wave_gen/main/
DKconfig.projbuild98 bool "Enable output voltage log"
101 If enabled, the output voltage(in mV) will show in log.

1234