Loading...
Searching...
No Matches

Board specific definitions for the Seeed Studio XIAO ESP32-C6. More...

Detailed Description

Board specific definitions for the Seeed Studio XIAO ESP32-C6.

Author
Stepan Konoplev stepa.nosp@m.n.ko.nosp@m.nople.nosp@m.v@ha.nosp@m.w-ham.nosp@m.burg.nosp@m..de

Definition in file board.h.

#include <stdint.h>
#include "board_common.h"
+ Include dependency graph for board.h:

Go to the source code of this file.

LED configuration

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

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.
 

RF antenna switch configuration

#define RF_SWITCH_EN_GPIO   GPIO3
 RF switch enable, active low.
 
#define RF_SWITCH_ANT_GPIO   GPIO14
 antenna select: low=internal, high=external
 

Macro Definition Documentation

◆ BTN0_INT_FLANK

#define BTN0_INT_FLANK   GPIO_FALLING

Default interrupt flank definition for the button GPIO.

Definition at line 61 of file board.h.

◆ BTN0_MODE

#define BTN0_MODE   GPIO_IN

Default button GPIO mode definition.

The pin 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.

Definition at line 56 of file board.h.

◆ BTN0_PIN

#define BTN0_PIN   GPIO9

Default button GPIO pin definition.

Pressing the button will give a low signal.

Note
GPIO9 is a strapping pin that must be pulled up at boot time in order to boot the user application. After boot, it can be used as user button.

Definition at line 47 of file board.h.

◆ BUTTON0_PIN

#define BUTTON0_PIN   BTN0_PIN

Definition for compatibility with previous versions.

Definition at line 66 of file board.h.

◆ LED0_ACTIVE

#define LED0_ACTIVE   (0)

LED is low active.

Definition at line 30 of file board.h.

◆ LED0_PIN

#define LED0_PIN   GPIO15

Definition at line 29 of file board.h.

◆ RF_SWITCH_ANT_GPIO

#define RF_SWITCH_ANT_GPIO   GPIO14

antenna select: low=internal, high=external

Definition at line 75 of file board.h.

◆ RF_SWITCH_EN_GPIO

#define RF_SWITCH_EN_GPIO   GPIO3

RF switch enable, active low.

Definition at line 74 of file board.h.