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) 2014 Freie Universität Berlin
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
20
#ifndef BOARD_H
21
#define BOARD_H
22
23
#include "cpu.h"
24
25
#ifdef __cplusplus
26
extern
"C"
{
27
#endif
28
33
#define LED0_PIN_NUM 9
34
#define LED0_PORT GPIO_PORT_C
35
#define LED0_PORT_NUM PORT_C
36
37
#define LED1_PIN_NUM 8
38
#define LED1_PORT GPIO_PORT_C
39
#define LED1_PORT_NUM PORT_C
46
#define BTN0_PIN GPIO_PIN(PORT_A, 0)
47
#define BTN0_MODE GPIO_IN
50
#ifdef __cplusplus
51
}
52
#endif
53
54
#include "
stm32_leds.h
"
55
56
#endif
/* BOARD_H */
stm32_leds.h
Common LED macros.
Generated on Sat Dec 21 2024 20:58:01 by
1.9.8