Toggle navigation
Documentation
The friendly Operating System for the Internet of Things
Main Page
Related Pages
Supported Boards
Modules
Namespaces
Namespace List
Namespace Members
All
Functions
Variables
Enumerations
Data Structures
Data Structures
Class Hierarchy
Data Fields
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Functions
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
r
s
t
u
w
~
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
Enumerator
Related Symbols
Files
File List
Globals
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Typedefs
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Enumerations
_
a
b
c
d
e
f
g
h
i
k
l
m
n
p
q
r
s
t
u
v
w
x
z
Enumerator
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Macros
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
►
RIOT OS
•
All
Data Structures
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Modules
Pages
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
19
#ifndef BOARD_H
20
#define BOARD_H
21
22
#include "cpu.h"
23
#include "
periph_conf.h
"
24
25
#ifdef __cplusplus
26
extern
"C"
{
27
#endif
28
33
#define CC110X_PARAM_SPI SPI_DEV(0)
34
#define CC110X_PARAM_CS GPIO_PIN(PORT_B, 12)
35
#define CC110X_PARAM_GDO0 GPIO_PIN(PORT_C, 4)
36
#define CC110X_PARAM_GDO2 GPIO_PIN(PORT_C, 5)
37
#define CC110X_PARAM_SPI_CLOCK SPI_CLK_1MHZ
44
#define MPU9X50_PARAM_COMP_ADDR (0x0E)
51
#define LED0_PIN_NUM 8
52
#define LED0_PORT GPIO_PORT_B
53
#define LED0_PORT_NUM PORT_B
55
#define LED1_PIN_NUM 14
56
#define LED1_PORT GPIO_PORT_B
57
#define LED1_PORT_NUM PORT_B
59
#define LED2_PIN_NUM 15
60
#define LED2_PORT GPIO_PORT_B
61
#define LED2_PORT_NUM PORT_B
68
#define BUTTON0_PIN GPIO_PIN(PORT_B, 13)
69
#define BUTTON1_PIN GPIO_PIN(PORT_A, 0)
72
#ifdef __cplusplus
73
}
74
#endif
75
76
#include "
stm32_leds.h
"
77
78
#endif
/* BOARD_H */
periph_conf.h
stm32_leds.h
Common LED macros.
Generated on Wed Apr 2 2025 16:43:11 by
1.12.0