mirror of
https://github.com/espressif/esp-idf.git
synced 2025-08-29 21:48:39 +00:00
57 lines
1.4 KiB
C
57 lines
1.4 KiB
C
/*
|
|
* SPDX-FileCopyrightText: 2010-2025 Espressif Systems (Shanghai) CO LTD
|
|
*
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
*/
|
|
|
|
#ifndef _SOC_TOUCH_CHANNEL_H
|
|
#define _SOC_TOUCH_CHANNEL_H
|
|
|
|
//Touch channels
|
|
|
|
/* Note: T0 is an internal channel that does not have a corresponding external GPIO. */
|
|
|
|
#define TOUCH_PAD_GPIO1_CHANNEL 1
|
|
#define TOUCH_PAD_NUM1_GPIO_NUM 1
|
|
|
|
#define TOUCH_PAD_GPIO2_CHANNEL 2
|
|
#define TOUCH_PAD_NUM2_GPIO_NUM 2
|
|
|
|
#define TOUCH_PAD_GPIO3_CHANNEL 3
|
|
#define TOUCH_PAD_NUM3_GPIO_NUM 3
|
|
|
|
#define TOUCH_PAD_GPIO4_CHANNEL 4
|
|
#define TOUCH_PAD_NUM4_GPIO_NUM 4
|
|
|
|
#define TOUCH_PAD_GPIO5_CHANNEL 5
|
|
#define TOUCH_PAD_NUM5_GPIO_NUM 5
|
|
|
|
#define TOUCH_PAD_GPIO6_CHANNEL 6
|
|
#define TOUCH_PAD_NUM6_GPIO_NUM 6
|
|
|
|
#define TOUCH_PAD_GPIO7_CHANNEL 7
|
|
#define TOUCH_PAD_NUM7_GPIO_NUM 7
|
|
|
|
#define TOUCH_PAD_GPIO8_CHANNEL 8
|
|
#define TOUCH_PAD_NUM8_GPIO_NUM 8
|
|
|
|
#define TOUCH_PAD_GPIO9_CHANNEL 9
|
|
#define TOUCH_PAD_NUM9_GPIO_NUM 9
|
|
|
|
#define TOUCH_PAD_GPIO10_CHANNEL 10
|
|
#define TOUCH_PAD_NUM10_GPIO_NUM 10
|
|
|
|
#define TOUCH_PAD_GPIO11_CHANNEL 11
|
|
#define TOUCH_PAD_NUM11_GPIO_NUM 11
|
|
|
|
#define TOUCH_PAD_GPIO12_CHANNEL 12
|
|
#define TOUCH_PAD_NUM12_GPIO_NUM 12
|
|
|
|
#define TOUCH_PAD_GPIO13_CHANNEL 13
|
|
#define TOUCH_PAD_NUM13_GPIO_NUM 13
|
|
|
|
#define TOUCH_PAD_GPIO14_CHANNEL 14
|
|
#define TOUCH_PAD_NUM14_GPIO_NUM 14
|
|
|
|
#endif
|