Loading...
Searching...
No Matches

Peripheral MCU configuration for the bluepill/blackpill board. More...

Detailed Description

#include "stm32_leds.h"
+ Include dependency graph for board_common.h:

Go to the source code of this file.

Macros

#define STDIO_UART_DEV   UART_DEV(0)
 Use the fist UART for STDIO on this board.
 

Macros for controlling the on-board LED.

#define LED0_PORT   GPIO_PORT_C
 GPIO port of LED 0.
 
#define LED0_PORT_NUM   PORT_C
 GPIO Port number the LED is connected to.
 
#define LED0_PIN_NUM   (13)
 Pin number the LED is connected to.
 
#define LED0_IS_INVERTED   1
 

xtimer configuration

#define XTIMER_WIDTH   (16)
 
#define XTIMER_BACKOFF   (19)
 

Macro Definition Documentation

◆ LED0_IS_INVERTED

#define LED0_IS_INVERTED   1

Definition at line 43 of file board_common.h.

◆ LED0_PIN_NUM

#define LED0_PIN_NUM   (13)

Pin number the LED is connected to.

Definition at line 40 of file board_common.h.

◆ LED0_PORT

#define LED0_PORT   GPIO_PORT_C

GPIO port of LED 0.

Definition at line 36 of file board_common.h.

◆ LED0_PORT_NUM

#define LED0_PORT_NUM   PORT_C

GPIO Port number the LED is connected to.

Definition at line 37 of file board_common.h.

◆ STDIO_UART_DEV

#define STDIO_UART_DEV   UART_DEV(0)

Use the fist UART for STDIO on this board.

Definition at line 50 of file board_common.h.

◆ XTIMER_BACKOFF

#define XTIMER_BACKOFF   (19)

Definition at line 57 of file board_common.h.

◆ XTIMER_WIDTH

#define XTIMER_WIDTH   (16)

Definition at line 56 of file board_common.h.