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 <stdint.h>
23
24
#include "cpu.h"
25
#include "
periph_conf.h
"
26
27
#ifdef __cplusplus
28
extern
"C"
{
29
#endif
30
34
#define XTIMER_WIDTH (16)
35
40
#define LED0_PIN_NUM 9
41
#define LED0_PORT GPIO_PORT_A
42
#define LED0_PORT_NUM PORT_A
43
44
#define LED1_PIN_NUM 10
45
#define LED1_PORT GPIO_PORT_A
46
#define LED1_PORT_NUM PORT_A
47
48
#define LED2_PIN_NUM 8
49
#define LED2_PORT GPIO_PORT_A
50
#define LED2_PORT_NUM PORT_A
51
52
#define LED3_PIN_NUM 13
53
#define LED3_PORT GPIO_PORT_A
54
#define LED3_PORT_NUM PORT_A
61
#define BUTTON1 GPIO_PIN(PORT_B,2)
68
#define CC3000_SPI SPI_DEV(0)
69
#define CC3000_CS GPIO_PIN(PORT_B,12)
70
#define CC3000_EN GPIO_PIN(PORT_B,8)
71
#define CC3000_INT GPIO_PIN(PORT_B,11)
78
#define EXTFLASH_SPI SPI_DEV(0)
79
#define EXTFLASH GPIO_PIN(PORT_B,9)
82
#ifdef __cplusplus
83
}
/* end extern "C" */
84
#endif
85
86
#include "
stm32_leds.h
"
87
88
#endif
/* BOARD_H */
periph_conf.h
Peripheral MCU configuration for the spark-core board.
stm32_leds.h
Common LED macros.
Generated on Tue Apr 8 2025 00:06:00 by
1.12.0