Toggle navigation
Documentation
The friendly Operating System for the Internet of Things
Loading...
Searching...
No Matches
board.h
Go to the documentation of this file.
1
/*
2
* SPDX-FileCopyrightText: 2025 TU Dresden
3
* SPDX-License-Identifier: LGPL-2.1-only
4
*/
5
6
#pragma once
7
17
18
#include "cpu.h"
19
20
#ifdef __cplusplus
21
extern
"C"
{
22
#endif
23
28
#define LED0_IS_INVERTED 1
29
#define LED0_PIN_NUM 3
/* LED top right red */
30
#define LED0_PORT GPIO_PORT_C
31
#define LED0_PORT_NUM PORT_C
32
33
#define LED1_IS_INVERTED 1
34
#define LED1_PIN_NUM 2
/* LED top right green */
35
#define LED1_PORT GPIO_PORT_C
36
#define LED1_PORT_NUM PORT_C
37
38
#define LED2_PIN_NUM 2
/* LED bottom left blue */
39
#define LED2_PORT GPIO_PORT_D
40
#define LED2_PORT_NUM PORT_D
41
42
#define LED3_IS_INVERTED 1
43
#define LED3_PIN_NUM 0
/* LED top left red*/
44
#define LED3_PORT GPIO_PORT_C
45
#define LED3_PORT_NUM PORT_C
46
47
#define LED4_IS_INVERTED 1
48
#define LED4_PIN_NUM 1
/* LED top left green */
49
#define LED4_PORT GPIO_PORT_C
50
#define LED4_PORT_NUM PORT_C
52
53
#ifdef __cplusplus
54
}
55
#endif
56
57
#include "
stm32_leds.h
"
stm32_leds.h
Common LED macros.
Generated on Sat Nov 1 2025 14:50:10 by
1.13.2