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

Board specific definitions for the STM32G0316-DISCO. More...

Detailed Description

Board specific definitions for the STM32G0316-DISCO.

Author
Dave VanKampen david.nosp@m..van.nosp@m.kampe.nosp@m.n@bi.nosp@m.ssell.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:

Go to the source code of this file.

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

Macro Definition Documentation

◆ BTN0_MODE

#define BTN0_MODE   GPIO_IN

Definition at line 36 of file board.h.

◆ BTN0_PIN

#define BTN0_PIN   GPIO_PIN(PORT_A, 0)

Definition at line 35 of file board.h.

◆ LED0_PIN_NUM

#define LED0_PIN_NUM   12

Definition at line 31 of file board.h.

◆ LED0_PORT

#define LED0_PORT   GPIO_PORT_A

GPIO port of LED 0.

Definition at line 32 of file board.h.

◆ LED0_PORT_NUM

#define LED0_PORT_NUM   PORT_A

Definition at line 33 of file board.h.