Board definitions for the ESP32-S3-USB-OTG boards. More...
Board definitions for the ESP32-S3-USB-OTG boards.
Any modifications required for specific applications can be overridden by application-specific board configuration.
Definition in file board.h.
#include <stdint.h>
#include "board_common.h"
Go to the source code of this file.
Button pin definitions | |
#define | BTN0_PIN GPIO0 |
BOOT/OK button GPIO pin definition. More... | |
#define | BTN0_MODE GPIO_IN_PU |
BOOT/OK button GPIO mode definition. | |
#define | BTN0_INT_FLANK GPIO_FALLING |
Default interrupt flank definition for the BOOT/OK button GPIO. | |
#define | BUTTON0_PIN BTN0_PIN |
Definition for compatibility with previous versions. | |
#define | BTN1_PIN GPIO14 |
MENU button GPIO pin definition. More... | |
#define | BTN1_MODE GPIO_IN_PU |
MENU button GPIO mode definition. | |
#define | BTN1_INT_FLANK GPIO_FALLING |
Default interrupt flank definition for the MENU button GPIO. | |
#define | BUTTON1_PIN BTN1_PIN |
Definition for compatibility with previous versions. | |
#define | BTN2_PIN GPIO11 |
DW- button GPIO pin definition. More... | |
#define | BTN2_MODE GPIO_IN_PU |
DW- button GPIO mode definition. | |
#define | BTN2_INT_FLANK GPIO_FALLING |
Default interrupt flank definition for the DW- button GPIO. | |
#define | BUTTON2_PIN BTN2_PIN |
Definition for compatibility with previous versions. | |
#define | BTN3_PIN GPIO10 |
UP+ button GPIO pin definition. More... | |
#define | BTN3_MODE GPIO_IN_PU |
UP+ button GPIO mode definition. | |
#define | BTN3_INT_FLANK GPIO_FALLING |
Default interrupt flank definition for the UP+ button GPIO. | |
#define | BUTTON3_PIN BTN3_PIN |
Definition for compatibility with previous versions. | |
LED (on-board) configuration | |
#define | LED0_PIN GPIO15 |
Green LED. | |
#define | LED0_ACTIVE (1) |
Green LED is high active. | |
#define | LED1_PIN GPIO16 |
Yellow LED. | |
#define | LED1_ACTIVE (1) |
Yellow LED is high active. | |
SD-Card interface configuration | |
SD-Card interface uses SPI_DEV(1) on this board. | |
#define | SDCARD_SPI_PARAM_SPI SPI_DEV(1) |
#define | SDCARD_SPI_PARAM_CS SPI1_CS0 |
#define | SDCARD_SPI_PARAM_CLK SPI1_SCK |
#define | SDCARD_SPI_PARAM_MOSI SPI1_MOSI |
#define | SDCARD_SPI_PARAM_MISO SPI1_MISO |
#define | SDCARD_SPI_PARAM_POWER GPIO_UNDEF |
#define BTN0_PIN GPIO0 |
#define BTN1_PIN GPIO14 |
#define BTN2_PIN GPIO11 |