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: 2019 Inria
3
* SPDX-FileCopyrightText: 2019 Freie Universität Berlin
4
* SPDX-FileCopyrightText: 2019 Kaspar Schleiser <kaspar@schleiser.de>
5
* SPDX-License-Identifier: LGPL-2.1-only
6
*/
7
8
#pragma once
9
20
#include <stdint.h>
21
22
#include "cpu.h"
23
24
#ifdef __cplusplus
25
extern
"C"
{
26
#endif
27
32
#define LED0_PIN_NUM 4
33
#define LED0_PORT GPIO_PORT_B
34
#define LED0_PORT_NUM PORT_B
41
#define BTN0_PIN GPIO_PIN(PORT_B, 3)
42
#define BTN0_MODE GPIO_IN_PU
45
#ifdef __cplusplus
46
}
47
#endif
48
49
#include "
stm32_leds.h
"
50
stm32_leds.h
Common LED macros.
Generated on Sat Sep 6 2025 20:14:01 by
1.9.1