ESP32-S3
Dual-core Xtensa LX7 at up to 240 MHz with 128-bit SIMD (PIE) instructions, 2.4 GHz 802.11 b/g/n Wi-Fi and Bluetooth LE 5, optional in-package flash and Quad or Octal SPI PSRAM, full-speed USB OTG plus USB Serial/JTAG, and an LCD/camera controller.
In short
- 128-bit SIMD instructions (PIE). Processor Instruction Extensions add 128-bit registers and vector operations aimed at AI and DSP workloads.12
- Octal SPI PSRAM in the package. Variants with 8 or 16 MB of Octal SPI PSRAM; the 8-line memory bus supports SDR and DDR at up to 120 MHz.1
- LCD and camera controller. One LCD_CAM block drives 8–16-bit parallel RGB or I8080 displays and reads 8–16-bit DVP cameras; GDMA moves the data, including to and from external RAM.1
- Two USB controllers. Full-speed USB OTG (host or device) and a fixed-function USB Serial/JTAG controller that gives a CDC-ACM console, JTAG debugging and reset into download mode without a USB-UART bridge.1
- Two ULP coprocessors. A ULP-RISC-V (RV32IMC) and a ULP-FSM coprocessor can run code from RTC slow memory during Deep-sleep, but only one of them at a time.1
Overview
Within the family
Highlighted: ESP32-S3. Click a bar to open another chip.
GPIO map
- 0
- 1ADC1·0T1
- 2ADC1·1T2
- 3ADC1·2T3
- 4ADC1·3T4
- 5ADC1·4T5
- 6ADC1·5T6
- 7ADC1·6T7
- 8ADC1·7T8
- 9ADC1·8T9
- 10ADC1·9T10
- 11ADC2·0T11
- 12ADC2·1T12
- 13ADC2·2T13
- 14ADC2·3T14
- 15ADC2·4
- 16ADC2·5
- 17ADC2·6
- 18ADC2·7
- 19ADC2·8
- 20ADC2·9
- 21
- 26
- 27
- 28
- 29
- 30
- 31
- 32
- 33
- 34
- 35
- 36
- 37
- 38
- 39
- 40
- 41
- 42
- 43
- 44
- 45
- 46
- 47
- 48
SOC_GPIO_VALID_GPIO_MASK). Not every package brings out all of them; see the variants table.- Strapping: GPIO 0, 3, 45, 46. Strapping pins: GPIO0 and GPIO46 select the boot mode, GPIO45 the VDD_SPI voltage, GPIO3 the JTAG source; GPIO46 also controls ROM messages.
- Flash: GPIO 26, 27, 28, 29, 30, 31, 32. SPI0/1 bus to the in-package flash and PSRAM (recommended for off-package flash/PSRAM too); not for other uses.
- PSRAM: GPIO 33, 34, 35, 36, 37. DQ4–DQ7 and DQS of the 8-line (Octal) SPI bus: taken on chips with Octal PSRAM (ESP32-S3R8, R8V, R16V) and with off-package Octal flash/PSRAM; free GPIOs otherwise.
- USB: GPIO 19, 20. USB D- (GPIO19) and D+ (GPIO20); by default connected to the USB Serial/JTAG controller.
- JTAG: GPIO 39, 40, 41, 42. Pad JTAG: MTCK (GPIO39), MTDO (GPIO40), MTDI (GPIO41), MTMS (GPIO42).1
- UART0: GPIO 43, 44. UART0: U0TXD on GPIO43, U0RXD on GPIO44.1
- 32 kHz XTAL: GPIO 15, 16. 32 kHz crystal: XTAL_32K_P on GPIO15, XTAL_32K_N on GPIO16.1
Strapping pins in detail: ESP32-S3 strapping pins and boot modes.
Specifications
| Core | |
|---|---|
| Architecture | Xtensa® 32-bit LX71 |
| HP cores | 2 cores12 |
| Max clock | up to 240 MHz1 |
| FPU | single-precision FPU12 |
| Low-power core | ULP-RISC-V (RV32IMC) and ULP-FSM coprocessors; the two cannot run at the same time12 |
| Memory | |
| SRAM | 512 KB1 |
| ROM | 384 KB1 |
| RTC / LP SRAM | 16 KB RTC SRAM (8 KB RTC FAST + 8 KB RTC SLOW), retained in Deep-sleep12 |
| Flash in package | 4 MB (ESP32-S3FH4R2) or 8 MB (ESP32-S3FN8), Quad SPI1 |
| PSRAM in package | 2 MB Quad SPI, 8 MB or 16 MB Octal SPI12 |
| External memory | SPI, Dual, Quad, Octal SPI, QPI and OPI flash and RAM; up to 1 GB supported, 32 MB mapped at a time into instruction space and 32 MB into data space1 |
| Radio | |
| Wi-Fi | IEEE 802.11b/g/n, 2.4 GHz, 20 and 40 MHz bandwidth12 |
| 5 GHz band | — |
| Wi-Fi 6 | — |
| Bluetooth LE | Bluetooth 5 (LE), Bluetooth Mesh12 |
| Bluetooth Classic | — |
| IEEE 802.15.4 | — |
| GPIO and analog | |
| GPIO | 45 programmable GPIOs (GPIO0–21, GPIO26–48)12 |
| ADC | 2 × 12-bit SAR ADC, 20 channels12 |
| DAC | — |
| Touch | 14 capacitive touch GPIOs (channels 1–14; channel 0 is internal)12 |
| Temperature sensor | internal, –40…125 °C range12 |
| Interfaces | |
| UART | 3 UART (UART0–UART2), up to 5 Mbps12 |
| I²C | 2 I2C (master or slave)12 |
| I²S | 2 I2S12 |
| SPI | 2 general-purpose SPI (SPI2, SPI3); SPI1 is used for flash and PSRAM1 |
| LED PWM | 8 channels12 |
| MCPWM | 2 MCPWM units12 |
| RMT | 8 channels: 4 TX + 4 RX12 |
| TWAI (CAN) | 1 TWAI (CAN 2.0)12 |
| Pulse counter | 4 units, 2 channels each12 |
| USB OTG | USB 2.0 OTG, full-speed, integrated transceiver12 |
| USB Serial/JTAG | USB Serial/JTAG (CDC-ACM + JTAG), full-speed12 |
| SD / SDIO | SD/MMC host (2 slots, 1/4/8-bit, up to 80 MHz); no SDIO slave12 |
| Ethernet MAC | — |
| LCD / camera | LCD: 8–16-bit parallel RGB, I8080, MOTO6800; camera: 8–16-bit DVP, up to 40 MHz12 |
| Security and package | |
| Security | Secure boot, XTS-AES flash/PSRAM encryption; SHA, AES, RSA, HMAC, RSA digital signature, RNG12 |
| Package | QFN56 (7 × 7 mm)1 |
| Supply | 3.0–3.6 V (3.3 V typ.)1 |
Variants
| Part number | Flash | PSRAM | Temperature | |
|---|---|---|---|---|
ESP32-S3 | — | — | –40…105 °C | 1 |
ESP32-S3FN8 | 8 MB (Quad SPI) | — | –40…85 °C | 1 |
ESP32-S3RH2 | — | 2 MB (Quad SPI) | –40…105 °C | 1 |
ESP32-S3R8 | — | 8 MB (Octal SPI) | –40…65 °C | 1 |
ESP32-S3R16V | — | 16 MB (Octal SPI) | –40…65 °C | 1 |
ESP32-S3FH4R2 | 4 MB (Quad SPI) | 2 MB (Quad SPI) | –40…85 °C | 1 |
ESP32-S3R8V | — | 8 MB (Octal SPI) | –40…65 °C | EOL1 |
ESP32-S3R2 | — | 2 MB (Quad SPI) | –40…85 °C | EOL, replaced by ESP32-S3RH21 |
Pitfalls
GPIO45 is a strapping pin for VDD_SPI. With the eFuses at their defaults, GPIO45 low at reset (the internal pull-down) gives 3.3 V; GPIO45 high selects 1.8 V from the internal regulator, which is below the 2.7 V minimum the datasheet gives for 3.3 V flash and PSRAM.1
On ESP32-S3R8, R8V and R16V (and with off-package Octal flash/PSRAM) GPIO33–GPIO37 carry DQ4–DQ7 and DQS of the memory bus and must not be used for anything else.1
ESP32-S3R8V and ESP32-S3R16V have VDD_SPI set to 1.8 V, so GPIO47 and GPIO48 (SPICLK_P/N) also work at 1.8 V, unlike the other GPIOs.1
Chips with Octal SPI PSRAM have an ambient range of –40…65 °C. Enabling PSRAM ECC raises the limit to 85 °C but reduces the usable PSRAM by 1/16.1
USB_D-/D+ are connected to the USB Serial/JTAG controller after reset; to use GPIO19 and GPIO20 as ordinary GPIOs they have to be reconfigured (IO_MUX_MCU_SEL).1
The ADC2 channels cannot be used while Wi-Fi is in use; put analog inputs that must work with Wi-Fi on ADC1 (GPIO1–GPIO10).13
Boards with the ESP32-S3
-
ArduinoESP32-S3
Arduino Nano ESP32
16 MB flash · 8 MB Octal PSRAM
-
EspressifESP32-S3
ESP32-S3-DevKitC-1
8, 16 or 32 MB flash · 8 or 16 MB Octal PSRAM
-
WaveshareESP32-S3
Waveshare ESP32-S3-Zero
4 MB flash · 2 MB PSRAM
-
Seeed StudioESP32-S3
Seeed Studio XIAO ESP32S3
8 MB flash · 8 MB PSRAM
Sources
Each number on this page links here. Open “What it confirms” to see the exact quote behind every value. Checked 2026-11-28.
- ESP32-S3 Series Datasheet v2.2 primary
What it confirms (62)
- ESP32-S3: Architecture “ESP32-S3 has a low-power Xtensa® dual-core 32-bit LX7 microprocessor.”
- ESP32-S3: HP cores “Xtensa® dual-core 32-bit LX7 microprocessor”
- ESP32-S3: Max clock “Clock speed: up to 240 MHz”
- ESP32-S3: FPU “Single precision floating point unit (FPU)”
- ESP32-S3: Low-power core “ULP-RISC-V coprocessor … ULP-FSM coprocessor … Support for RV32IMC instruction set … Note that these two coprocessors cannot work simultaneously.”
- ESP32-S3: SRAM “512 KB on-chip SRAM: for data and instructions”
- ESP32-S3: ROM “384 KB ROM: for booting and core functions”
- ESP32-S3: RTC / LP SRAM “SRAM in RTC: 16 KB … RTC FAST memory: 8 KB SRAM … RTC SLOW Memory: 8 KB SRAM”
- ESP32-S3: Flash in package “ESP32-S3FN8 8 MB (Quad SPI) … ESP32-S3FH4R2 4 MB (Quad SPI) 2 MB (Quad SPI)”
- ESP32-S3: PSRAM in package “2 MB (Quad SPI) … 8 MB (Octal SPI) … 16 MB (Octal SPI)”
- ESP32-S3: Wi-Fi “Complies with IEEE 802.11b/g/n … Supports 20 MHz and 40 MHz bandwidth in 2.4 GHz band”
- ESP32-S3: 5 GHz band “Supports 20 MHz and 40 MHz bandwidth in 2.4 GHz band”
- ESP32-S3: Wi-Fi 6 “Complies with IEEE 802.11b/g/n”
- ESP32-S3: Bluetooth LE “Bluetooth LE: Bluetooth 5, Bluetooth Mesh”
- ESP32-S3: Bluetooth Classic “ESP32-S3 includes a Bluetooth Low Energy subsystem”
- ESP32-S3: GPIO “45 programmable GPIOs”
- ESP32-S3: ADC “Two 12-bit SAR ADCs, up to 20 channels”
- ESP32-S3: Touch “14 capacitive touch sensing IOs”
- ESP32-S3: UART “ESP32-S3 has three UART (Universal Asynchronous Receiver Transmitter) controllers, i.e., UART0, UART1, and UART2”
- ESP32-S3: I²C “ESP32-S3 has two I2C bus interfaces which are used for I2C master mode or slave mode”
- ESP32-S3: I²S “ESP32-S3 includes two standard I2S interfaces.”
- ESP32-S3: SPI “Two general-purpose SPI ports … SPI2 is a general purpose SPI controller … SPI3 is a general purpose SPI controller … SPI1 used by the CPU to access in-package or off-package flash/PSRAM”
- ESP32-S3: LED PWM “LED PWM controller, up to 8 channels”
- ESP32-S3: RMT “Four TX channels … Four RX channels”
- ESP32-S3: MCPWM “ESP32-S3 integrates two MCPWMs”
- ESP32-S3: TWAI (CAN) “TWAI® controller, compatible with ISO 11898-1 (CAN Specification 2.0)”
- ESP32-S3: Pulse counter “Four independent pulse counters (units) … Each unit consists of two independent channels sharing one pulse counter”
- ESP32-S3: USB OTG “ESP32-S3 features a full-speed USB OTG interface along with an integrated transceiver.”
- ESP32-S3: USB Serial/JTAG “ESP32-S3 integrates a USB Serial/JTAG controller. … Fixed function device, hardwired for CDC-ACM”
- ESP32-S3: SD / SDIO “SD/MMC host controller with 2 slots … Up to 80 MHz clock output”
- ESP32-S3: LCD / camera “its bus supports 8-bit ~ 16-bit parallel RGB, I8080, and MOTO6800 interfaces … its bus supports an 8-bit ~ 16-bit DVP image sensor, with clock frequency of up to 40 MHz”
- ESP32-S3: Temperature sensor “The temperature sensor has a range of –40 °C to 125 °C.”
- ESP32-S3: 128-bit SIMD instructions (PIE) “128-bit new general-purpose registers … 128-bit vector operations, e.g., complex multiplication, addition, subtraction, multiplication, shifting, … improve the operation efficiency of specific AI and DSP (Digital Signal Processing) algorithms”
- ESP32-S3: Octal SPI PSRAM in the package “16 MB (Octal SPI) … 8-line SPI mode supports single data rate (SDR) and double data rate (DDR) … Configurable clock frequency with a maximum of 120 MHz for 8-line SPI SDR/DDR modes”
- ESP32-S3: LCD and camera controller “its bus supports 8-bit ~ 16-bit parallel RGB, I8080, and MOTO6800 interfaces … 8-bit ~ 16-bit DVP camera interface … All channels can access internal and external RAM. … SPI2, SPI3, UHCI0, I2S0, I2S1, LCD/CAM, AES, SHA,”
- ESP32-S3: Two USB controllers “Full-speed USB OTG … Fixed function device, hardwired for CDC-ACM (Communication Device Class - Abstract Control Model) and JTAG adapter functionality. … CDC-ACM supports host controllable chip reset and entry into download mode.”
- ESP32-S3: Two ULP coprocessors “ESP32-S3 has two ULP coprocessors, one based on RISC-V instruction set architecture (ULP-RISC-V) and the other on finite state machine (ULP-FSM). … Note that these two coprocessors cannot work simultaneously. … the developer can store a program for the ULP coprocessor in the RTC slow memory”
- ESP32-S3: Strapping pins “GPIO0, GPIO3, GPIO45, GPIO46 : Strapping pins. … Strapping pin: GPIO0 and GPIO46 … Strapping pin: GPIO45 … Strapping pin: GPIO3 … ROM message printing - Strapping pin: GPIO46”
- ESP32-S3: Flash pins “GPIO26, GPIO27, GPIO28, GPIO29, GPIO30, GPIO31, GPIO32 : SPI0/1 interface connected to the in-package flash and PSRAM, or recommended for the off-package flash and PSRAM. … Do not use the pins connected to in-package flash/PSRAM for any other purposes.”
- ESP32-S3: PSRAM pins “GPIO33, GPIO34, GPIO35, GPIO36, GPIO37 : The higher 4 bits data line interface and DQS interface for the SPI0/1 interface in 8-line SPI mode, and can be GPIO pins if the chip is not connected to flash or PSRAM in 8-line SPI mode.”
- ESP32-S3: USB pins “GPIO19, GPIO20 : USB Serial/JTAG interface. … 25 RTC_GPIO19 USB_D- ADC2_CH8 … 26 RTC_GPIO20 USB_D+ ADC2_CH9”
- ESP32-S3: JTAG pins “GPIO39, GPIO40, GPIO41, GPIO42 : JTAG interface. … 44 GPIO39 MTCK”
- ESP32-S3: UART0 pins “GPIO43, GPIO44 : UART0 interface. … 49 GPIO43 U0TXD … 50 GPIO44 U0RXD”
- ESP32-S3: 32 kHz XTAL pins “21 RTC_GPIO15 XTAL_32K_P ADC2_CH4 … 22 RTC_GPIO16 XTAL_32K_N ADC2_CH5”
- ESP32-S3: External memory “ESP32-S3 supports SPI, Dual SPI, Quad SPI, Octal SPI, QPI, and OPI interfaces that allow connection to multiple external flash and RAM. … ESP32-S3 supports up to 1 GB of external flash and RAM … External flash or RAM mapped into 32 MB instruction space as individual blocks of 64 KB … External RAM mapped into 32 MB data space as individual blocks of 64 KB”
- ESP32-S3: Security “Secure boot - permission control on accessing internal and external memory … Flash encryption - memory encryption and decryption … SHA Accelerator (FIPS PUB 180-4) … AES Accelerator (FIPS PUB 197) … RSA Accelerator … HMAC Accelerator … RSA Digital Signature Peripheral (RSA_DS) … Random Number Generator (RNG) … hardware encryption/decryption based on XTS-AES”
- ESP32-S3: Package “QFN56 (7×7 mm) Package”
- ESP32-S3: Supply “VDDA, VDD3P3 Recommended input voltage 3.0 3.3 3.6 V”
- ESP32-S3: variant ESP32-S3 “ESP32-S3 — — –40 ∼ 105 °C 3.3 V/1.8 V”
- ESP32-S3: variant ESP32-S3FN8 “ESP32-S3FN8 8 MB (Quad SPI)5 — –40 ∼ 85 °C 3.3 V”
- ESP32-S3: variant ESP32-S3RH2 “ESP32-S3RH2 — 2 MB (Quad SPI) –40 ∼ 105 °C 3.3 V”
- ESP32-S3: variant ESP32-S3R8 “ESP32-S3R8 — 8 MB (Octal SPI) –40 ∼ 65 °C 3.3 V”
- ESP32-S3: variant ESP32-S3R16V “ESP32-S3R16V — 16 MB (Octal SPI) –40 ∼ 65 °C 1.8 V”
- ESP32-S3: variant ESP32-S3FH4R2 “ESP32-S3FH4R2 4 MB (Quad SPI) 2 MB (Quad SPI) –40 ∼ 85 °C 3.3 V”
- ESP32-S3: variant ESP32-S3R8V “ESP32-S3R8V (EOL) — 8 MB (Octal SPI) –40 ∼ 65 °C 1.8 V”
- ESP32-S3: variant ESP32-S3R2 “ESP32-S3R2 (EOL)6 — 2 MB (Quad SPI) –40 ∼ 85 °C 3.3 V … ESP32-S3R2 has been upgraded to ESP32-S3RH2.”
- ESP32-S3: GPIO45 selects the flash voltage “The voltage is determined by EFUSE_VDD_SPI_FORCE, GPIO45, and EFUSE_VDD_SPI_TIEH. … GPIO45 Weak pull-down 0 … Flash Voltage Regulator 1.8 V … The default values of all the above eFuse parameters are 0 … Power supply voltage (3.3 V) 2.7 3.3 3.6 V”
- ESP32-S3: Octal PSRAM takes GPIO33–37 “38 GPIO33 DQ4 DQ4 … 42 GPIO37 DQS/DM DQS/DM … Notice: Do not use the pins connected to in-package flash/PSRAM for any other purposes.”
- ESP32-S3: 1.8 V variants: GPIO47 and GPIO48 run at 1.8 V “For ESP32-S3R8V and ESP32-S3R16V chip, as the VDD_SPI voltage has been set to 1.8 V, the working voltage for pins SPICLK_N and SPICLK_P (GPIO47 and GPIO48) would also be 1.8 V, which is different from other GPIOs.”
- ESP32-S3: Octal PSRAM variants are rated to 65 °C “ESP32-S3R8 — 8 MB (Octal SPI) –40 ∼ 65 °C … if the PSRAM ECC function is enabled, the maximum ambient temperature can be improved to 85 °C … the usable size of PSRAM will be reduced by 1/16”
- ESP32-S3: GPIO19/20 belong to USB by default “USB_D+/- – by default, connected to the USB Serial/JTAG Controller. To function as GPIOs, these pins need to be reconfigured via the IO_MUX_MCU_SEL bit”
- ESP32-S3: ADC2 and Wi-Fi “Please note that the ADC2_CH … cannot be used with Wi-Fi simul-taneously”
- ESP-IDF v5.5.5: components/soc/esp32s3/include/soc/soc_caps.h primary
What it confirms (26)
- ESP32-S3: HP cores “SOC_CPU_CORES_NUM 2”
- ESP32-S3: FPU “SOC_CPU_HAS_FPU 1”
- ESP32-S3: Low-power core “SOC_RISCV_COPROC_SUPPORTED 1 … SOC_ULP_FSM_SUPPORTED 1”
- ESP32-S3: RTC / LP SRAM “SOC_RTC_FAST_MEM_SUPPORTED 1 … SOC_RTC_SLOW_MEM_SUPPORTED 1”
- ESP32-S3: PSRAM in package “SOC_SPIRAM_SUPPORTED 1”
- ESP32-S3: Wi-Fi “SOC_WIFI_SUPPORTED 1”
- ESP32-S3: Bluetooth LE “SOC_BLE_50_SUPPORTED (1)”
- ESP32-S3: GPIO “// 0~48 valid except 22~25”
- ESP32-S3: ADC “SOC_ADC_PERIPH_NUM (2) … SOC_ADC_CHANNEL_NUM(PERIPH_NUM) (10)”
- ESP32-S3: Touch “SOC_TOUCH_MIN_CHAN_ID (1U) … SOC_TOUCH_MAX_CHAN_ID (14)”
- ESP32-S3: UART “SOC_UART_NUM (3)”
- ESP32-S3: I²C “SOC_I2C_NUM (2U)”
- ESP32-S3: I²S “SOC_I2S_NUM (2U)”
- ESP32-S3: LED PWM “SOC_LEDC_CHANNEL_NUM (8)”
- ESP32-S3: RMT “SOC_RMT_TX_CANDIDATES_PER_GROUP 4 … SOC_RMT_RX_CANDIDATES_PER_GROUP 4”
- ESP32-S3: MCPWM “SOC_MCPWM_GROUPS (2)”
- ESP32-S3: TWAI (CAN) “SOC_TWAI_CONTROLLER_NUM 1U”
- ESP32-S3: Pulse counter “SOC_PCNT_UNITS_PER_GROUP (4) … SOC_PCNT_CHANNELS_PER_UNIT (2)”
- ESP32-S3: USB OTG “SOC_USB_OTG_SUPPORTED 1”
- ESP32-S3: USB Serial/JTAG “SOC_USB_SERIAL_JTAG_SUPPORTED 1”
- ESP32-S3: SD / SDIO “SOC_SDMMC_HOST_SUPPORTED 1 … SOC_SDMMC_NUM_SLOTS 2”
- ESP32-S3: LCD / camera “SOC_LCDCAM_I80_LCD_SUPPORTED 1 … SOC_LCDCAM_RGB_LCD_SUPPORTED 1 … SOC_LCDCAM_CAM_SUPPORTED 1”
- ESP32-S3: Temperature sensor “SOC_TEMP_SENSOR_SUPPORTED 1”
- ESP32-S3: 128-bit SIMD instructions (PIE) “SOC_SIMD_INSTRUCTION_SUPPORTED 1”
- ESP32-S3: valid GPIOs “#define SOC_GPIO_VALID_GPIO_MASK (0x1FFFFFFFFFFFFULL & ~(0ULL | BIT22 | BIT23 | BIT24 | BIT25)) … #define SOC_GPIO_PIN_COUNT 49”
- ESP32-S3: Security “SOC_SECURE_BOOT_SUPPORTED 1 … SOC_FLASH_ENC_SUPPORTED 1”
- ESP-IDF v5.5.5: components/soc/esp32s3/include/soc/adc_channel.h primary
What it confirms (2)
- ESP32-S3: ADC channel per GPIO “#define ADC1_GPIO1_CHANNEL 0 … #define ADC1_GPIO2_CHANNEL 1 … #define ADC1_GPIO3_CHANNEL 2 … …”
- ESP32-S3: ADC2 and Wi-Fi “#define ADC1_GPIO1_CHANNEL 0 … #define ADC1_GPIO10_CHANNEL 9”
- ESP-IDF v5.5.5: components/soc/esp32s3/include/soc/touch_sensor_channel.h primary
What it confirms (1)
- ESP32-S3: touch channel per GPIO “#define TOUCH_PAD_GPIO1_CHANNEL 1 … #define TOUCH_PAD_GPIO2_CHANNEL 2 … #define TOUCH_PAD_GPIO3_CHANNEL 3 … …”