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: 2014 Freie Universität Berlin
3
* SPDX-License-Identifier: LGPL-2.1-only
4
*/
5
6
#pragma once
7
19
#include "cpu.h"
20
21
#ifdef __cplusplus
22
extern
"C"
{
23
#endif
24
29
#define LED0_PIN_NUM 9
30
#define LED0_PORT GPIO_PORT_C
31
#define LED0_PORT_NUM PORT_C
32
33
#define LED1_PIN_NUM 8
34
#define LED1_PORT GPIO_PORT_C
35
#define LED1_PORT_NUM PORT_C
42
#define BTN0_PIN GPIO_PIN(PORT_A, 0)
43
#define BTN0_MODE GPIO_IN
46
#ifdef __cplusplus
47
}
48
#endif
49
50
#include "
stm32_leds.h
"
51
stm32_leds.h
Common LED macros.
Generated on Thu Jul 24 2025 16:03:56 by
1.9.1