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) 2020 iosabi
3
*
4
* This file is subject to the terms and conditions of the GNU Lesser
5
* General Public License v2.1. See the file LICENSE in the top level
6
* directory for more details.
7
*/
8
19
#ifndef BOARD_H
20
#define BOARD_H
21
22
#include "cpu.h"
23
#include "
periph_conf.h
"
24
#include "periph_cpu.h"
25
26
#ifdef __cplusplus
27
extern
"C"
{
28
#endif
29
34
#define LED_RED_PIN GPIO_PIN(PORT_A, 31)
35
#define LED_GREEN_PIN GPIO_PIN(PORT_A, 25)
36
#define LED_BLUE_PIN GPIO_PIN(PORT_A, 13)
43
#define BTN1_PIN GPIO_PIN(PORT_A, 24)
44
#define BTN1_MODE GPIO_IN_PU
45
#define BTN2_PIN GPIO_PIN(PORT_A, 19)
46
#define BTN2_MODE GPIO_IN_PU
56
#define MMA8X5X_PARAM_I2C I2C_DEV(0)
57
#define MMA8X5X_PARAM_ADDR 0x1D
58
#define MMA8X5X_PARAM_TYPE (MMA8X5X_TYPE_MMA8652)
65
#define MTD_0 mtd_dev_get(0)
68
#ifdef __cplusplus
69
}
70
#endif
71
72
#endif
/* BOARD_H */
periph_conf.h
Configuration of CPU peripherals for QN9080DK base board board.
Generated on Thu Apr 3 2025 21:58:23 by
1.12.0