Board definitions for Seeed Studio Xiao ESP32S3 board. More...

Detailed Description

Board definitions for Seeed Studio Xiao ESP32S3 board.

The board definitions in this file are valid for the Seeed Studio Xiao ESP32S3 board.

Any modifications required for specific applications can be overridden by application-specific board configuration.

Author
Isikcan 'Jon' Yilmaz can15.nosp@m.8@gm.nosp@m.ail.c.nosp@m.om

Definition in file board.h.

#include <stdint.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.

Macros

#define LED0_PIN   GPIO21
 
#define LED0_ACTIVE   (0)
 

Button pin definitions

#define BTN0_PIN   GPIO0
 Default button GPIO pin definition. More...
 
#define BTN0_MODE   GPIO_IN
 Default button GPIO mode definition. More...
 
#define BTN0_INT_FLANK   GPIO_FALLING
 Default interrupt flank definition for the button GPIO.
 
#define BUTTON0_PIN   BTN0_PIN
 Definition for compatibility with previous versions.
 

Macro Definition Documentation

◆ BTN0_MODE

#define BTN0_MODE   GPIO_IN

Default button GPIO mode definition.

Since the GPIO of the button is pulled up with an external resistor, the mode for the GPIO pin has to be GPIO_IN.

Definition at line 46 of file board.h.

◆ BTN0_PIN

#define BTN0_PIN   GPIO0

Default button GPIO pin definition.

Seeed Studio Xiao ESP32S3 boards have 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 38 of file board.h.