Loading...
Searching...
No Matches
board.h
Go to the documentation of this file.
1/*
2 * SPDX-FileCopyrightText: 2018 Inria
3 * SPDX-License-Identifier: LGPL-2.1-only
4 */
5
6#pragma once
7
17
18#include "cpu.h"
19
20#ifdef __cplusplus
21extern "C" {
22#endif
23
28#define XTIMER_WIDTH (16)
30
35#define LED0_PIN_NUM 4
36#define LED0_PORT GPIO_PORT_B
37#define LED0_PORT_NUM PORT_B
38
39#define LED1_PIN_NUM 5
40#define LED1_PORT GPIO_PORT_A
41#define LED1_PORT_NUM PORT_A
43
48#define BTN0_PIN GPIO_PIN(PORT_A, 0)
49#define BTN0_MODE GPIO_IN
51
52#ifdef __cplusplus
53}
54#endif
55
56#include "stm32_leds.h"
57
Common LED macros.