1 /* 2 * SPDX-FileCopyrightText: 2019-2022 Espressif Systems (Shanghai) CO LTD 3 * 4 * SPDX-License-Identifier: Apache-2.0 5 */ 6 7 #pragma once 8 9 #include "soc/soc.h" 10 #include "soc/soc_caps.h" 11 #include "soc/adc_channel.h" 12 13 #ifdef __cplusplus 14 extern "C" { 15 #endif 16 17 /** 18 * Store IO number corresponding to the ADC channel number. 19 * 20 * @value 21 * - >=0 : GPIO number index. 22 * - -1 : Not support. 23 */ 24 extern const int adc_channel_io_map[SOC_ADC_PERIPH_NUM][SOC_ADC_MAX_CHANNEL_NUM]; 25 26 #ifdef __cplusplus 27 } 28 #endif 29