Loading...
Searching...
No Matches
board.h File Reference

Board specific definitions for WeAct-G030F6. More...

Detailed Description

Board specific definitions for WeAct-G030F6.

Author
Benjamin Valentin benja.nosp@m.min..nosp@m.valen.nosp@m.tin@.nosp@m.ml-pa.nosp@m..com

Definition in file board.h.

#include "cpu.h"
#include "periph_conf.h"
#include "periph_cpu.h"
#include "stm32_leds.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.

#define LED0_PIN_NUM   4
 
#define LED0_PORT   GPIO_PORT_A
 GPIO port of LED 0.
 
#define LED0_PORT_NUM   PORT_A
 
#define BTN0_PIN   GPIO_PIN(PORT_A, 14)
 
#define BTN0_MODE   GPIO_IN
 

Macro Definition Documentation

◆ BTN0_MODE

#define BTN0_MODE   GPIO_IN

Definition at line 35 of file board.h.

◆ BTN0_PIN

#define BTN0_PIN   GPIO_PIN(PORT_A, 14)

Definition at line 34 of file board.h.

◆ LED0_PIN_NUM

#define LED0_PIN_NUM   4

Definition at line 30 of file board.h.

◆ LED0_PORT

#define LED0_PORT   GPIO_PORT_A

GPIO port of LED 0.

Definition at line 31 of file board.h.

◆ LED0_PORT_NUM

#define LED0_PORT_NUM   PORT_A

Definition at line 32 of file board.h.