Board definitions for the Seeed Studio Xiao ESP32-C3 board. More...
Board definitions for the Seeed Studio Xiao ESP32-C3 board.
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.
Button pin definitions | |
| #define | BTN0_PIN GPIO9 | 
| Default button GPIO pin definition.   | |
| #define | BTN0_MODE GPIO_IN | 
| Default button GPIO mode definition.   | |
| #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.   | |
| #define BTN0_INT_FLANK GPIO_FALLING | 
| #define BTN0_MODE GPIO_IN | 
Default button GPIO mode definition.
The pîn is actually pulled up by an external resistor on the board. As a consequence, the pin mode should be GPIO_IN. The internal pull-up resistor is not enabled on purpose because it would decrease the total pull-up resistor value.
| #define BTN0_PIN GPIO9 | 
Default button GPIO pin definition.
Pressing the button will give a low signal.
BTN0_PIN conflicts with the SPI MISO line. If the SPI module is enabled, the button will be automatically disabled.