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.
 Include dependency graph for periph_conf.h:
 Include dependency graph for 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) | |
| SD/MMC host controller configuration | |
| #define | SDMMC_CONFIG_NUMOF 1 | 
| Number of configured SDMMC devices. | |
| static const sdmmc_conf_t | sdmmc_config [] | 
| SDMMC devices. | |
| 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 44 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 59 of file periph_conf.h.
| #define SDMMC_CONFIG_NUMOF 1 | 
Number of configured SDMMC devices.
Definition at line 84 of file periph_conf.h.
| #define SPI0_CS0 GPIO5 | 
LCD CS.
Definition at line 107 of file periph_conf.h.
| #define SPI0_CTRL SPI2_HOST | 
FSPI is configured as SPI_DEV(0)
Definition at line 95 of file periph_conf.h.
| #define SPI0_MISO GPIO3 | 
not used (dummy pin)
Definition at line 104 of file periph_conf.h.
| #define SPI0_MOSI GPIO7 | 
LCD SDA.
Definition at line 101 of file periph_conf.h.
| #define SPI0_SCK GPIO6 | 
LCD SCLK.
Definition at line 98 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 140 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 139 of file periph_conf.h.
| 
 | static | 
SDMMC devices.
Definition at line 69 of file periph_conf.h.