Loading...
Searching...
No Matches

Board specific definitions for the Elecrow CrowPanel ESP32-S3 1.28-inch rotary round display board (Touch version) More...

Detailed Description

Board specific definitions for the Elecrow CrowPanel ESP32-S3 1.28-inch rotary round display board (Touch version)

Author
Gunar Schorcht gunar.nosp@m.@sch.nosp@m.orcht.nosp@m..net
Yahia Abdella yahia.nosp@m..abd.nosp@m.ella@.nosp@m.tuhh.nosp@m..de
Christopher Büchse chris.nosp@m.toph.nosp@m.er.bu.nosp@m.echs.nosp@m.e@tuh.nosp@m.h.de

Definition in file board.h.

#include "board_common.h"
+ Include dependency graph for board.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Button pin definitions

#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 BOOT button.
 
#define BUTTON0_PIN   BTN0_PIN
 Definition for compatibility with previous versions.
 
#define BTN1_PIN   GPIO41
 Display push button.
 
#define BTN1_MODE   GPIO_IN_PU
 Default button GPIO mode definition.
 
#define BTN1_INT_FLANK   GPIO_FALLING
 Default interrupt flank definition for the display button.
 
#define BUTTON1_PIN   BTN1_PIN
 Definition for compatibility with previous versions.
 

Power Control configuration

The Elecrow rotary display has two MOSFETs that control the power domains, one for the LCD's 3.3V domain and one for the external 5V supply of the UART and I2C headers.

#define POWER_LCD_3V3_PIN   GPIO1
 Enable power for the LCD (active high)
 
#define POWER_EXTERNAL_5V_PIN   GPIO2
 Enable power for the external UART and I2C headers (active high)
 

Neopixel LEDs (WS281x compatible)

#define WS281X_PARAM_PIN   GPIO48
 GPIO pin connected to the data pin of the first LED.
 
#define WS281X_PARAM_NUMOF   (5U)
 Number of LEDs chained.
 

LED (on-board) configuration

#define LED0_PIN   GPIO40
 Red LED.
 
#define LED0_ACTIVE   (0)
 Red LED is active low.
 

Macro Definition Documentation

◆ BTN0_INT_FLANK

#define BTN0_INT_FLANK   GPIO_FALLING

Default interrupt flank definition for the BOOT button.

Definition at line 42 of file board.h.

◆ BTN0_MODE

#define BTN0_MODE   GPIO_IN_PU

Default button GPIO mode definition.

Definition at line 38 of file board.h.

◆ BTN0_PIN

#define BTN0_PIN   GPIO0

Default button GPIO pin definition.

The board has a BOOT button connected to GPIO0, which can be used as button during normal operation. Since the GPIO0 pin is pulled up, the button signal is inverted, i.e., pressing the button will give a low signal.

Definition at line 35 of file board.h.

◆ BTN1_INT_FLANK

#define BTN1_INT_FLANK   GPIO_FALLING

Default interrupt flank definition for the display button.

Definition at line 61 of file board.h.

◆ BTN1_MODE

#define BTN1_MODE   GPIO_IN_PU

Default button GPIO mode definition.

Definition at line 57 of file board.h.

◆ BTN1_PIN

#define BTN1_PIN   GPIO41

Display push button.

The display itself can be pressed down (apart from the touch functionality), which activates a button. The button signal is low active.

Definition at line 54 of file board.h.

◆ BUTTON0_PIN

#define BUTTON0_PIN   BTN0_PIN

Definition for compatibility with previous versions.

Definition at line 46 of file board.h.

◆ BUTTON1_PIN

#define BUTTON1_PIN   BTN1_PIN

Definition for compatibility with previous versions.

Definition at line 65 of file board.h.

◆ LED0_ACTIVE

#define LED0_ACTIVE   (0)

Red LED is active low.

Definition at line 148 of file board.h.

◆ LED0_PIN

#define LED0_PIN   GPIO40

Red LED.

Definition at line 147 of file board.h.

◆ POWER_EXTERNAL_5V_PIN

#define POWER_EXTERNAL_5V_PIN   GPIO2

Enable power for the external UART and I2C headers (active high)

Definition at line 129 of file board.h.

◆ POWER_LCD_3V3_PIN

#define POWER_LCD_3V3_PIN   GPIO1

Enable power for the LCD (active high)

Definition at line 127 of file board.h.

◆ WS281X_PARAM_NUMOF

#define WS281X_PARAM_NUMOF   (5U)

Number of LEDs chained.

Definition at line 139 of file board.h.

◆ WS281X_PARAM_PIN

#define WS281X_PARAM_PIN   GPIO48

GPIO pin connected to the data pin of the first LED.

Definition at line 137 of file board.h.