Searched refs:adc1_ch (Results 1 – 1 of 1) sorted by relevance
/hal_espressif-3.5.0/components/driver/test/ |
D | test_adc_common.c | 45 static const int adc1_ch[ADC1_TEST_CHANNEL_NUM] = { variable 171 TEST_ESP_OK( adc1_config_channel_atten(adc1_ch[i], ADC1_TEST_ATTEN) ); 172 ESP_LOGI(TAG, "[CH%d - IO%d]:", adc1_ch[i], ADC_GET_IO_NUM(0, adc1_ch[i])); 180 adc1_val[i] = adc1_get_raw((adc1_channel_t)adc1_ch[i]); 181 printf("CH%d-%d ", adc1_ch[i], adc1_val[i]); 187 adc_fake_tie_high(ADC_UNIT_1, adc1_ch[i]); 194 adc1_val[i] = adc1_get_raw((adc1_channel_t)adc1_ch[i]); 195 printf("CH%d-%d ", adc1_ch[i], adc1_val[i]); 204 adc_fake_tie_low(ADC_UNIT_1, adc1_ch[i]); 211 adc1_val[i] = adc1_get_raw((adc1_channel_t)adc1_ch[i]); [all …]
|