Configuration of CPU peripherals for the Elecrow CrowPanel ESP32-S3 1.28-inch rotary round display board (Touch version) More...
Configuration of CPU peripherals for the Elecrow CrowPanel ESP32-S3 1.28-inch rotary round display board (Touch version)
Definition in file periph_conf.h.
Include dependency graph for periph_conf.h:Go to the source code of this file.
Macros | |
| #define | PWM0_GPIOS { LED0_PIN } |
| Declaration of the channels for device PWM_DEV(0) | |
ADC channel configuration | |
| #define | ADC_GPIOS { GPIO4, GPIO12 } |
| Declaration of GPIOs that can be used as ADC channels. | |
SPI configuration | |
SPI_DEV(0) is used for the LCD display
| |
| #define | SPI0_CTRL SPI2_HOST |
| SPI2 (FSPI) is configured as SPI_DEV(0) | |
| #define | SPI0_SCK GPIO10 |
| LCD SCLK. | |
| #define | SPI0_MOSI GPIO11 |
| LCD SDA. | |
| #define | SPI0_MISO GPIO_UNDEF |
| LCD SDO (not connected) | |
| #define | SPI0_CS0 GPIO9 |
| LCD CS. | |
I2C configuration | |
I2C_DEV(0) is used for the touch controller.
| |
| #define | I2C0_SPEED I2C_SPEED_FAST |
| I2C bus speed of I2C_DEV(0) | |
| #define | I2C0_SCL GPIO7 |
| SCL signal of I2C_DEV(0) | |
| #define | I2C0_SDA GPIO6 |
| SDA signal of I2C_DEV(0) | |
| #define | I2C1_SPEED I2C_SPEED_FAST |
| I2C bus speed of I2C_DEV(1) | |
| #define | I2C1_SCL GPIO39 |
| SCL signal of I2C_DEV(1) | |
| #define | I2C1_SDA GPIO38 |
| SDA signal of I2C_DEV(1) | |
| #define ADC_GPIOS { GPIO4, GPIO12 } |
Declaration of GPIOs that can be used as ADC channels.
GPIO4 and GPIO12 are connected to the external flat flex header.
Definition at line 39 of file periph_conf.h.
| #define I2C0_SCL GPIO7 |
SCL signal of I2C_DEV(0)
Definition at line 90 of file periph_conf.h.
| #define I2C0_SDA GPIO6 |
SDA signal of I2C_DEV(0)
Definition at line 93 of file periph_conf.h.
| #define I2C0_SPEED I2C_SPEED_FAST |
I2C bus speed of I2C_DEV(0)
Definition at line 87 of file periph_conf.h.
| #define I2C1_SCL GPIO39 |
SCL signal of I2C_DEV(1)
Definition at line 99 of file periph_conf.h.
| #define I2C1_SDA GPIO38 |
SDA signal of I2C_DEV(1)
Definition at line 102 of file periph_conf.h.
| #define I2C1_SPEED I2C_SPEED_FAST |
I2C bus speed of I2C_DEV(1)
Definition at line 96 of file periph_conf.h.
| #define PWM0_GPIOS { LED0_PIN } |
Declaration of the channels for device PWM_DEV(0)
LED pins are used as PWM channels.
Definition at line 112 of file periph_conf.h.
| #define SPI0_CS0 GPIO9 |
LCD CS.
Definition at line 69 of file periph_conf.h.
| #define SPI0_CTRL SPI2_HOST |
SPI2 (FSPI) is configured as SPI_DEV(0)
Definition at line 57 of file periph_conf.h.
| #define SPI0_MISO GPIO_UNDEF |
LCD SDO (not connected)
Definition at line 66 of file periph_conf.h.
| #define SPI0_MOSI GPIO11 |
LCD SDA.
Definition at line 63 of file periph_conf.h.
| #define SPI0_SCK GPIO10 |
LCD SCLK.
Definition at line 60 of file periph_conf.h.