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
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
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
•
All
Data Structures
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Modules
Pages
Loading...
Searching...
No Matches
board_modules.h
Go to the documentation of this file.
1
/*
2
* Copyright (C) 2018 Gunar Schorcht
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
9
#ifndef BOARD_MODULES_H
10
#define BOARD_MODULES_H
11
29
#ifdef __cplusplus
30
extern
"C"
{
31
#endif
32
33
#if MODULE_MRF24J40 || DOXYGEN
46
#define MRF24J40_PARAM_SPI SPI_DEV(0)
48
#ifndef MRF24J40_PARAM_SPI_CLK
49
#define MRF24J40_PARAM_SPI_CLK SPI_CLK_1MHZ
50
#endif
51
#ifndef MRF24J40_PARAM_CS
52
#define MRF24J40_PARAM_CS GPIO26
53
#endif
54
#ifndef MRF24J40_PARAM_INT
55
#define MRF24J40_PARAM_INT GPIO17
56
#endif
57
#ifndef MRF24J40_PARAM_RESET
58
#define MRF24J40_PARAM_RESET GPIO16
59
#endif
61
#endif
/* MODULE_MRF24J40 || DOXYGEN */
62
63
#if MODULE_SDCARD_SPI || DOXYGEN
78
#define SDCARD_SPI_PARAM_SPI SPI_DEV(0)
79
#define SDCARD_SPI_PARAM_CLK SPI0_SCK
80
#define SDCARD_SPI_PARAM_MOSI SPI0_MOSI
81
#define SDCARD_SPI_PARAM_MISO SPI0_MISO
82
#define SDCARD_SPI_PARAM_POWER GPIO_UNDEF
84
#ifndef SDCARD_SPI_PARAM_CS
85
#define SDCARD_SPI_PARAM_CS SPI0_CS0
86
#endif
88
#endif
/* MODULE_SDCARD_SPI || DOXYGEN */
89
90
#ifdef __cplusplus
91
}
/* end extern "C" */
92
#endif
93
96
#endif
/* BOARD_MODULES_H */
Generated on Fri Jan 3 2025 13:31:18 by
1.9.8