Loading...
Searching...
No Matches
board.h
Go to the documentation of this file.
1/*
2 * SPDX-FileCopyrightText: 2014 Freie Universität Berlin
3 * SPDX-License-Identifier: LGPL-2.1-only
4 */
5
6#pragma once
7
18
19#include "cpu.h"
20#include "periph_conf.h"
21
22#ifdef __cplusplus
23extern "C" {
24#endif
25
30#define XTIMER_BACKOFF (10)
32
37#define LED0_PIN_NUM 13
38#define LED0_PORT GPIO_PORT_D
39#define LED0_PORT_NUM PORT_D
40
41#define LED1_PIN_NUM 12
42#define LED1_PORT GPIO_PORT_D
43#define LED1_PORT_NUM PORT_D
44
45#define LED2_PIN_NUM 14
46#define LED2_PORT GPIO_PORT_D
47#define LED2_PORT_NUM PORT_D
48
49#define LED3_PIN_NUM 15
50#define LED3_PORT GPIO_PORT_D
51#define LED3_PORT_NUM PORT_D
53
58#define BTN0_PIN GPIO_PIN(PORT_A, 0)
59#define BTN0_MODE GPIO_IN
61
62#ifdef __cplusplus
63}
64#endif
65
66#include "stm32_leds.h"
67
Common LED macros.