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

Common pin definitions and board configuration options. More...

Detailed Description

Common pin definitions and board configuration options.

Author
Alexandre Abadie alexa.nosp@m.ndre.nosp@m..abad.nosp@m.ie@i.nosp@m.nria..nosp@m.fr
Vincent Dupont vince.nosp@m.nt@o.nosp@m.takey.nosp@m.s.co.nosp@m.m
Sebastian Meiling s@mln.nosp@m.g.ne.nosp@m.t
Hauke Petersen hauke.nosp@m..pet.nosp@m.ersen.nosp@m.@fu-.nosp@m.berli.nosp@m.n.de

Definition in file board.h.

#include "arduino_pinmap.h"
#include "board_nucleo.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.

LED pin definitions and handlers

#define LED0_PIN_NUM   0
 
#define LED0_PORT_NUM   PORT_B
 
#define LED1_PIN_NUM   7
 
#define LED1_PORT_NUM   PORT_B
 
#define LED2_PIN_NUM   14
 
#define LED2_PORT_NUM   PORT_B
 

User button

#define BTN0_PIN   GPIO_PIN(PORT_C, 13)
 
#define BTN0_MODE   GPIO_IN_PD