Toggle navigation
Documentation
The friendly Operating System for the Internet of Things
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
18
#include "cpu.h"
19
20
#ifdef __cplusplus
21
extern
"C"
{
22
#endif
23
28
#define XTIMER_WIDTH (16)
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
48
#define BTN0_PIN GPIO_PIN(PORT_A, 0)
49
#define BTN0_MODE GPIO_IN
52
#ifdef __cplusplus
53
}
54
#endif
55
56
#include "
stm32_leds.h
"
57
stm32_leds.h
Common LED macros.
Generated on Thu Jul 24 2025 16:03:56 by
1.9.1