Home
last modified time | relevance | path

Searched refs:ideal_level (Results 1 – 2 of 2) sorted by relevance

/hal_espressif-2.7.6/components/driver/test/adc_dma_test/
Dtest_esp32.c101 static esp_err_t adc_dma_data_check(uint8_t *buf, int length, int ideal_level) in adc_dma_data_check() argument
109 if (ideal_level == 1) { // high level 3.3v in adc_dma_data_check()
111 } else if (ideal_level == 0) { // low level 0v in adc_dma_data_check()
113 } else if (ideal_level == 2) { // middle level 1.4v in adc_dma_data_check()
115 } else if (ideal_level == 3) { // normal level in adc_dma_data_check()
Dtest_esp32s2.c179 static esp_err_t adc_dma_data_check(adc_unit_t adc, int ideal_level) in adc_dma_data_check() argument
198 if (ideal_level >= 0) { in adc_dma_data_check()
208 if (ideal_level == 1) { // high level 3.3v in adc_dma_data_check()
210 } else if (ideal_level == 0) { // low level 0v in adc_dma_data_check()
212 } else if (ideal_level == 2) { // middle level 1.4v in adc_dma_data_check()
214 } else if (ideal_level == 3) { // normal level in adc_dma_data_check()
226 if (ideal_level >= 0) { in adc_dma_data_check()
230 if (ideal_level == 1) { // high level 3.3v in adc_dma_data_check()
232 } else if (ideal_level == 0) { // low level 0v in adc_dma_data_check()
234 } else if (ideal_level == 2) { // middle level 1.4v in adc_dma_data_check()
[all …]