Home
last modified time | relevance | path

Searched refs:ADC_UNIT_2 (Results 1 – 21 of 21) sorted by relevance

/hal_espressif-3.5.0/components/driver/test/adc_dma_test/
Dtest_esp32s2.c203 if (adc > ADC_UNIT_2) { //ADC_ENCODE_11BIT in adc_dma_data_check()
362 if (adc & ADC_UNIT_2) { in adc_check_patt_table()
398 TEST_ESP_OK( adc_arbiter_config(ADC_UNIT_2, &arb_cfg) ); // If you want use force in test_adc_dig_dma_single_unit()
422 if (adc & ADC_UNIT_2) { in test_adc_dig_dma_single_unit()
428 adc_gpio_init(ADC_UNIT_2, adc_list[i]); in test_adc_dig_dma_single_unit()
434 } else if (adc == ADC_UNIT_2) { in test_adc_dig_dma_single_unit()
476 test_adc_dig_dma_single_unit(ADC_UNIT_2);
499 if (adc & ADC_UNIT_2) { in test_adc_dig_scope_debug_unit()
507 TEST_ESP_OK( adc_arbiter_config(ADC_UNIT_2, &arb_cfg) ); // If you want use force in test_adc_dig_scope_debug_unit()
531 if (adc & ADC_UNIT_2) { in test_adc_dig_scope_debug_unit()
[all …]
/hal_espressif-3.5.0/components/driver/
Dadc_common.c259 if (adc_unit & ADC_UNIT_2) { in adc_rtc_chan_init()
283 if (adc_unit & ADC_UNIT_2) { in adc_common_gpio_init()
302 if (adc_unit & ADC_UNIT_2) { in adc_set_data_inv()
324 if (adc_unit & ADC_UNIT_2) { in adc_set_data_width()
504 adc_common_gpio_init(ADC_UNIT_2, channel); in adc2_config_channel_atten()
513 adc_rtc_chan_init(ADC_UNIT_2); in adc2_config_channel_atten()
640 return adc_vref_to_gpio(ADC_UNIT_2, gpio); in adc2_vref_to_gpio()
667 } else if (adc_unit & ADC_UNIT_2) { in adc_vref_to_gpio()
674 adc_common_gpio_init(ADC_UNIT_2, ch); in adc_vref_to_gpio()
Dadc_deprecated.c188 if (adc_unit & ADC_UNIT_2) { in adc_i2s_mode_init()
209 if (adc_unit & ADC_UNIT_2) { in adc_i2s_mode_init()
273 if (adc_unit & ADC_UNIT_2) { in adc_digi_intr_enable()
311 if (adc_unit & ADC_UNIT_2) { in adc_digi_intr_disable()
349 if (adc_unit & ADC_UNIT_2) { in adc_digi_intr_clear()
395 if (adc_unit & ADC_UNIT_2) { in adc_digi_intr_get_status()
615 if (adc_unit & ADC_UNIT_2) { in adc_gpio_init()
Dadc.c640 if (adc_unit == ADC_UNIT_2) { in adc_vref_to_gpio()
657 } else if (adc_unit & ADC_UNIT_2) { in adc_vref_to_gpio()
Di2s.c1320 …ESP_RETURN_ON_FALSE((adc_unit < ADC_UNIT_2), ESP_ERR_INVALID_ARG, TAG, "i2s ADC unit error, only s… in i2s_set_adc_mode()
/hal_espressif-3.5.0/components/driver/test/
Dtest_adc_common.c82 if (adc_unit & ADC_UNIT_2) { in adc_fake_tie_middle()
105 if (adc_unit & ADC_UNIT_2) { in adc_fake_tie_high()
129 if (adc_unit & ADC_UNIT_2) { in adc_fake_tie_low()
152 if (adc_unit & ADC_UNIT_2) { in adc_io_normal()
265 adc_fake_tie_high(ADC_UNIT_2, adc2_ch[i]);
282 adc_fake_tie_low(ADC_UNIT_2, adc2_ch[i]);
299 adc_fake_tie_middle(ADC_UNIT_2, adc2_ch[i]);
376 adc_fake_tie_middle(ADC_UNIT_2, adc2_ch[i]); in test_adc_slope_debug()
Dtest_dac.c165 esp_adc_cal_characterize(ADC_UNIT_2, ADC_ATTEN_DB_0, ADC_WIDTH_BIT_13, 0, &chars);
171 esp_adc_cal_characterize(ADC_UNIT_2, ADC_ATTEN_DB_2_5, ADC_WIDTH_BIT_13, 0, &chars);
177 esp_adc_cal_characterize(ADC_UNIT_2, ADC_ATTEN_DB_6, ADC_WIDTH_BIT_13, 0, &chars);
184 esp_adc_cal_characterize(ADC_UNIT_2, ADC_ATTEN_DB_11, ADC_WIDTH_BIT_13, 0, &chars);
Dtest_adc.c351 } else if (adc_n == ADC_UNIT_2) { in adc_single_cali_init()
385 adc_single_cali_init(ADC_UNIT_2, ADC2_CALI_TEST_CHAN0, i);
/hal_espressif-3.5.0/zephyr/esp_shared/components/driver/
Dadc_common.c267 if (adc_unit & ADC_UNIT_2) { in adc_rtc_chan_init()
291 if (adc_unit & ADC_UNIT_2) { in adc_common_gpio_init()
310 if (adc_unit & ADC_UNIT_2) { in adc_set_data_inv()
332 if (adc_unit & ADC_UNIT_2) { in adc_set_data_width()
512 adc_common_gpio_init(ADC_UNIT_2, channel); in adc2_config_channel_atten()
521 adc_rtc_chan_init(ADC_UNIT_2); in adc2_config_channel_atten()
648 return adc_vref_to_gpio(ADC_UNIT_2, gpio); in adc2_vref_to_gpio()
675 } else if (adc_unit & ADC_UNIT_2) { in adc_vref_to_gpio()
682 adc_common_gpio_init(ADC_UNIT_2, ch); in adc_vref_to_gpio()
Dadc.c118 if (adc_unit == ADC_UNIT_2) { in adc_vref_to_gpio()
135 } else if (adc_unit & ADC_UNIT_2) { in adc_vref_to_gpio()
/hal_espressif-3.5.0/examples/peripherals/adc/single_read/single_read/main/
Dsingle_read.c69 … esp_adc_cal_characterize(ADC_UNIT_2, ADC_EXAMPLE_ATTEN, ADC_WIDTH_BIT_DEFAULT, 0, &adc2_chars); in adc_calibration_init()
/hal_espressif-3.5.0/components/driver/esp32s2/
Dadc.c70 config->adc_unit = ADC_UNIT_2; in adc_digi_filter_get_config()
/hal_espressif-3.5.0/components/hal/include/hal/
Dadc_types.h21 ADC_UNIT_2 = 2, /*!< SAR ADC 2. */ enumerator
/hal_espressif-3.5.0/zephyr/esp32c3/src/esp_adc_cal/
Desp_adc_cal.c133 if (adc_num != ADC_UNIT_1 && adc_num != ADC_UNIT_2) { in esp_adc_cal_characterize()
/hal_espressif-3.5.0/zephyr/esp32s3/src/esp_adc_cal/
Desp_adc_cal.c138 if (adc_num != ADC_UNIT_1 && adc_num != ADC_UNIT_2) { in esp_adc_cal_characterize()
/hal_espressif-3.5.0/components/esp_adc_cal/esp32c3/
Desp_adc_cal.c129 …ESP_RETURN_ON_FALSE(adc_num == ADC_UNIT_1 || adc_num == ADC_UNIT_2, ESP_ADC_CAL_VAL_NOT_SUPPORTED,… in esp_adc_cal_characterize()
/hal_espressif-3.5.0/components/esp_adc_cal/esp32s3/
Desp_adc_cal.c135 …ESP_RETURN_ON_FALSE(adc_num == ADC_UNIT_1 || adc_num == ADC_UNIT_2, ESP_ADC_CAL_VAL_NOT_SUPPORTED,… in esp_adc_cal_characterize()
/hal_espressif-3.5.0/zephyr/esp32s2/src/esp_adc_cal/
Desp_adc_cal.c170 assert((adc_num == ADC_UNIT_1) || (adc_num == ADC_UNIT_2)); in esp_adc_cal_characterize()
/hal_espressif-3.5.0/components/esp_adc_cal/esp32s2/
Desp_adc_cal.c171 assert((adc_num == ADC_UNIT_1) || (adc_num == ADC_UNIT_2)); in esp_adc_cal_characterize()
/hal_espressif-3.5.0/zephyr/esp32/src/esp_adc_cal/
Desp_adc_cal.c289 assert((adc_num == ADC_UNIT_1) || (adc_num == ADC_UNIT_2)); in esp_adc_cal_characterize()
/hal_espressif-3.5.0/components/esp_adc_cal/esp32/
Desp_adc_cal.c290 assert((adc_num == ADC_UNIT_1) || (adc_num == ADC_UNIT_2)); in esp_adc_cal_characterize()