board.h File Reference

Board definitions for ESP32-S3 WT32-SC01 Plus boards. More...

Detailed Description

Board definitions for ESP32-S3 WT32-SC01 Plus boards.

The board definitions in this file are for the Espressif ESP32-S3 WT32-SC01 Plus.

Any modifications required for specific applications can be overridden by application-specific board configuration.

Author
Gunar Schorcht gunar.nosp@m.@sch.nosp@m.orcht.nosp@m..net

Definition in file board.h.

#include <stdint.h>
#include "board_common.h"
+ Include dependency graph for board.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Button pin definitions

#define BTN0_PIN   GPIO0
 Default button GPIO pin definition. More...
 
#define BTN0_MODE   GPIO_IN_PU
 Default button GPIO mode definition.
 
#define BTN0_INT_FLANK   GPIO_FALLING
 Default interrupt flank definition for the button GPIO.
 
#define BUTTON0_PIN   BTN0_PIN
 Definition for compatibility with previous versions.
 

LCD display configuration

ESP32-S3 WT32-SC01 Plus uses a 3.5" LCD 480 x 320 pixel display with an ST7796UI as driver chip and MCU8080 8-bit parallel interface.

This configuration cannot be changed.

#define LCD_SCREEN_WIDTH   480
 LCD width.
 
#define LCD_SCREEN_HEIGHT   320
 LCD height.
 

Touch panel configuration

#define FT5X06_PARAM_I2C_DEV   I2C_DEV(0)
 I2C device.
 
#define FT5X06_PARAM_INT_PIN   GPIO7
 Interrupt pin.
 
#define FT5X06_PARAM_RST_PIN   GPIO4
 Reset pin.
 
#define FT5X06_PARAM_XMAX   LCD_SCREEN_WIDTH
 Max width.
 
#define FT5X06_PARAM_YMAX   LCD_SCREEN_HEIGHT
 Max height.
 
#define FT5X06_PARAM_TYPE   FT5X06_TYPE_FT6X36
 Device type.
 
#define FT5X06_PARAM_XYCONV   (FT5X06_SWAP_XY | FT5X06_MIRROR_Y)
 Swap XY, then mirror Y.
 

SD-Card interface configuration

SD-Card interface uses SPI_DEV(1) on this board.

#define SDCARD_SPI_PARAM_SPI   SPI_DEV(0)
 
#define SDCARD_SPI_PARAM_CS   SPI0_CS0
 
#define SDCARD_SPI_PARAM_CLK   SPI0_SCK
 
#define SDCARD_SPI_PARAM_MOSI   SPI0_MOSI
 
#define SDCARD_SPI_PARAM_MISO   SPI0_MISO
 
#define SDCARD_SPI_PARAM_POWER   GPIO_UNDEF
 

Macro Definition Documentation

◆ BTN0_PIN

#define BTN0_PIN   GPIO0

Default button GPIO pin definition.

ESP32-S3 WT32-SC01 Plus boards have a BOOT button connected to GPIO0, which can be used as button during normal operation. Since the GPIO0 pin is pulled up, the button signal is inverted, i.e., pressing the button will give a low signal.

Definition at line 42 of file board.h.