1 /* 2 * SPDX-FileCopyrightText: 2015-2021 Espressif Systems (Shanghai) CO LTD 3 * 4 * SPDX-License-Identifier: Apache-2.0 5 */ 6 7 #include "soc/touch_sensor_periph.h" 8 9 /* Store IO number corresponding to the Touch Sensor channel number. */ 10 /* Note: T0 is an internal channel that does not have a corresponding external GPIO. */ 11 const int touch_sensor_channel_io_map[] = { 12 -1, 13 TOUCH_PAD_NUM1_GPIO_NUM, 14 TOUCH_PAD_NUM2_GPIO_NUM, 15 TOUCH_PAD_NUM3_GPIO_NUM, 16 TOUCH_PAD_NUM4_GPIO_NUM, 17 TOUCH_PAD_NUM5_GPIO_NUM, 18 TOUCH_PAD_NUM6_GPIO_NUM, 19 TOUCH_PAD_NUM7_GPIO_NUM, 20 TOUCH_PAD_NUM8_GPIO_NUM, 21 TOUCH_PAD_NUM9_GPIO_NUM, 22 TOUCH_PAD_NUM10_GPIO_NUM, 23 TOUCH_PAD_NUM11_GPIO_NUM, 24 TOUCH_PAD_NUM12_GPIO_NUM, 25 TOUCH_PAD_NUM13_GPIO_NUM, 26 TOUCH_PAD_NUM14_GPIO_NUM 27 }; 28