Board definitions for the LILYGO TTGO T8 ESP32-S2 board.
More...
Board definitions for the LILYGO TTGO T8 ESP32-S2 board.
The board definitions in this file are valid for the LILYGO TTGO T8 ESP32-S2 board.
- Note
- Most definitions can be overridden by an application-specific board configuration if necessary.
- 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"
Go to the source code of this file.
|
#define | BTN0_PIN GPIO0 |
| Default button GPIO pin definition.
|
|
#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.
|
|
◆ BACKLIGHT_OFF
Turn backlight off.
Definition at line 114 of file board.h.
◆ BACKLIGHT_ON
Turn backlight on.
Definition at line 113 of file board.h.
◆ BACKLIGHT_PIN
#define BACKLIGHT_PIN GPIO33 |
Backlight pin.
Definition at line 112 of file board.h.
◆ BTN0_INT_FLANK
#define BTN0_INT_FLANK GPIO_FALLING |
Default interrupt flank definition for the button GPIO.
Definition at line 58 of file board.h.
◆ BTN0_MODE
#define BTN0_MODE GPIO_IN_PU |
Default button GPIO mode definition.
Since the GPIO of the button is pulled up with an external resistor, the mode for the GPIO pin has to be GPIO_IN.
Definition at line 52 of file board.h.
◆ BTN0_PIN
Default button GPIO pin definition.
LILYGO TTGO T8 ESP32-S2 boards have a BOOT button connected to GPIO0, which can be used as button during normal operation. Since the GPIO9 pin is pulled up, the button signal is inverted, i.e., pressing the button will give a low signal.
Definition at line 44 of file board.h.
◆ BUTTON0_PIN
#define BUTTON0_PIN BTN0_PIN |
Definition for compatibility with previous versions.
Definition at line 64 of file board.h.
◆ SDCARD_SPI_PARAM_CLK
◆ SDCARD_SPI_PARAM_CS
◆ SDCARD_SPI_PARAM_MISO
◆ SDCARD_SPI_PARAM_MOSI
◆ SDCARD_SPI_PARAM_POWER
◆ SDCARD_SPI_PARAM_SPI
#define SDCARD_SPI_PARAM_SPI SPI_DEV(1) |