Searched refs:adc2_ch (Results 1 – 1 of 1) sorted by relevance
/hal_espressif-3.4.0/components/driver/test/ |
D | test_adc_common.c | 60 static const int adc2_ch[ADC2_TEST_CHANNEL_NUM] = { variable 249 TEST_ESP_OK( adc2_config_channel_atten(adc2_ch[i], ADC2_TEST_ATTEN) ); 250 ESP_LOGI(TAG, "[CH%d - IO%d]:", adc2_ch[i], ADC_GET_IO_NUM(1, adc2_ch[i])); 258 TEST_ESP_OK( adc2_get_raw((adc2_channel_t)adc2_ch[i], ADC2_TEST_WIDTH, &adc2_val[i]) ); 259 printf("CH%d-%d ", adc2_ch[i], adc2_val[i]); 265 adc_fake_tie_high(ADC_UNIT_2, adc2_ch[i]); 272 TEST_ESP_OK( adc2_get_raw((adc2_channel_t)adc2_ch[i], ADC2_TEST_WIDTH, &adc2_val[i]) ); 273 printf("CH%d-%d ", adc2_ch[i], adc2_val[i]); 282 adc_fake_tie_low(ADC_UNIT_2, adc2_ch[i]); 289 TEST_ESP_OK( adc2_get_raw((adc2_channel_t)adc2_ch[i], ADC2_TEST_WIDTH, &adc2_val[i]) ); [all …]
|