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
* Copyright (C) 2019 Inria
3
* 2019 Freie Universität Berlin
4
* 2019 Kaspar Schleiser <kaspar@schleiser.de>
5
*
6
* This file is subject to the terms and conditions of the GNU Lesser
7
* General Public License v2.1. See the file LICENSE in the top level
8
* directory for more details.
9
*/
10
21
#ifndef BOARD_H
22
#define BOARD_H
23
24
#include <stdint.h>
25
26
#include "cpu.h"
27
28
#ifdef __cplusplus
29
extern
"C"
{
30
#endif
31
36
#define LED0_PIN_NUM 4
37
#define LED0_PORT GPIO_PORT_B
38
#define LED0_PORT_NUM PORT_B
45
#define BTN0_PIN GPIO_PIN(PORT_B, 3)
46
#define BTN0_MODE GPIO_IN_PU
49
#ifdef __cplusplus
50
}
51
#endif
52
53
#include "
stm32_leds.h
"
54
55
#endif
/* BOARD_H */
stm32_leds.h
Common LED macros.
Generated on Sat Dec 21 2024 20:58:01 by
1.9.8