Peripheral configurations for ESP32-S3-USB-OTG boards. More...
Peripheral configurations for ESP32-S3-USB-OTG boards.
Any modifications required for specific applications can be overridden by application-specific board configuration.
For detailed information about the peripheral configuration for ESP32-S3 boards, see section Common Peripherals.
Definition in file periph_conf.h.
Go to the source code of this file.
ADC channel configuration | |
#define | ADC_GPIOS { GPIO1, GPIO2 } |
Declaration of GPIOs that can be used as ADC channels. | |
PWM channel configuration | |
#define | PWM0_GPIOS { LED0_PIN, LED1_PIN } |
Declaration of the channels for device PWM_DEV(0) | |
SPI configuration | |
SPI_DEV(0) is used for LCD display SPI_DEV(1) is used for SPI SD Card (only configured if | |
#define | SPI0_CTRL SPI2_HOST |
FSPI is configured as SPI_DEV(0) | |
#define | SPI0_SCK GPIO6 |
LCD SCLK. | |
#define | SPI0_MOSI GPIO7 |
LCD SDA. | |
#define | SPI0_MISO GPIO3 |
not used (dummy pin) | |
#define | SPI0_CS0 GPIO5 |
LCD CS. | |
UART configuration | |
ESP32-S3 provides 3 UART interfaces at maximum: UART_DEV(0) uses fixed standard configuration. | |
#define | UART0_TXD GPIO43 |
direct I/O pin for UART_DEV(0) TxD, can't be changed | |
#define | UART0_RXD GPIO44 |
direct I/O pin for UART_DEV(0) RxD, can't be changed | |
#define ADC_GPIOS { GPIO1, GPIO2 } |
Declaration of GPIOs that can be used as ADC channels.
GPIO1 can be used for USB_DEV voltage monitoring as ADC_LINE(0). GPIO2 can be used for Battery voltage monitoring as ADC_LINE(1).
Definition at line 48 of file periph_conf.h.
#define PWM0_GPIOS { LED0_PIN, LED1_PIN } |
Declaration of the channels for device PWM_DEV(0)
LED pins are used as PWM channels.
Definition at line 63 of file periph_conf.h.
#define SPI0_CS0 GPIO5 |
LCD CS.
Definition at line 87 of file periph_conf.h.
#define SPI0_CTRL SPI2_HOST |
FSPI is configured as SPI_DEV(0)
Definition at line 75 of file periph_conf.h.
#define SPI0_MISO GPIO3 |
not used (dummy pin)
Definition at line 84 of file periph_conf.h.
#define SPI0_MOSI GPIO7 |
LCD SDA.
Definition at line 81 of file periph_conf.h.
#define SPI0_SCK GPIO6 |
LCD SCLK.
Definition at line 78 of file periph_conf.h.
#define UART0_RXD GPIO44 |
direct I/O pin for UART_DEV(0) RxD, can't be changed
Definition at line 120 of file periph_conf.h.
#define UART0_TXD GPIO43 |
direct I/O pin for UART_DEV(0) TxD, can't be changed
Definition at line 119 of file periph_conf.h.