/hal_espressif-3.5.0/components/driver/test/adc_dma_test/ |
D | test_esp32s2.c | 203 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/ |
D | adc_common.c | 259 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()
|
D | adc_deprecated.c | 188 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()
|
D | adc.c | 640 if (adc_unit == ADC_UNIT_2) { in adc_vref_to_gpio() 657 } else if (adc_unit & ADC_UNIT_2) { in adc_vref_to_gpio()
|
D | i2s.c | 1320 …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/ |
D | test_adc_common.c | 82 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()
|
D | test_dac.c | 165 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);
|
D | test_adc.c | 351 } 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/ |
D | adc_common.c | 267 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()
|
D | adc.c | 118 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/ |
D | single_read.c | 69 … 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/ |
D | adc.c | 70 config->adc_unit = ADC_UNIT_2; in adc_digi_filter_get_config()
|
/hal_espressif-3.5.0/components/hal/include/hal/ |
D | adc_types.h | 21 ADC_UNIT_2 = 2, /*!< SAR ADC 2. */ enumerator
|
/hal_espressif-3.5.0/zephyr/esp32c3/src/esp_adc_cal/ |
D | esp_adc_cal.c | 133 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/ |
D | esp_adc_cal.c | 138 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/ |
D | esp_adc_cal.c | 129 …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/ |
D | esp_adc_cal.c | 135 …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/ |
D | esp_adc_cal.c | 170 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/ |
D | esp_adc_cal.c | 171 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/ |
D | esp_adc_cal.c | 289 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/ |
D | esp_adc_cal.c | 290 assert((adc_num == ADC_UNIT_1) || (adc_num == ADC_UNIT_2)); in esp_adc_cal_characterize()
|