Toggle navigation
Documentation
The friendly Operating System for the Internet of Things
board.h
Go to the documentation of this file.
1
/*
2
* Copyright (C) 2021 luisan00
3
*
4
* This file is subject to the terms and conditions of the GNU Lesser General
5
* Public License v2.1. See the file LICENSE in the top level directory for more
6
* details.
7
*/
8
9
#pragma once
10
20
#include "cpu.h"
21
#include "
periph_conf.h
"
22
23
#ifdef __cplusplus
24
extern
"C"
25
{
26
#endif
27
32
#define LED0_PIN_NUM 6
33
#define LED0_PORT GPIO_PORT_G
34
#define LED0_PORT_NUM PORT_G
35
#define LED0_IS_INVERTED 1
37
#define LED1_PIN_NUM 4
38
#define LED1_PORT GPIO_PORT_D
39
#define LED1_PORT_NUM PORT_D
40
#define LED1_IS_INVERTED 1
42
#define LED2_PIN_NUM 5
43
#define LED2_PORT GPIO_PORT_D
44
#define LED2_PORT_NUM PORT_D
45
#define LED2_IS_INVERTED 1
47
#define LED3_PIN_NUM 3
48
#define LED3_PORT GPIO_PORT_K
49
#define LED3_PORT_NUM PORT_K
50
#define LED3_IS_INVERTED 1
57
#define BTN0_PIN GPIO_PIN(PORT_A, 0)
58
#define BTN0_MODE GPIO_IN
61
#ifdef __cplusplus
62
}
63
#endif
64
65
#include "
stm32_leds.h
"
66
periph_conf.h
Peripheral MCU configuration for the Zigduino board.
stm32_leds.h
Common LED macros.
Generated on Mon Jun 30 2025 14:58:00 by
1.9.1