Toggle navigation
Documentation
The friendly Operating System for the Internet of Things
Main Page
Related Pages
Modules
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
d
e
f
g
h
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
Related Functions
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
p
q
r
s
t
u
v
w
x
z
Enumerations
_
a
b
c
d
e
g
h
i
k
l
m
n
p
q
r
s
t
u
v
x
Enumerator
a
b
c
d
e
f
g
h
i
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
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Modules
Pages
board.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
31
#ifndef BOARD_H
32
#define BOARD_H
33
34
#include <stdint.h>
35
49
#define BTN0_PIN GPIO0
50
57
#define BTN0_MODE GPIO_IN
58
62
#ifndef BTN0_INT_FLANK
63
#define BTN0_INT_FLANK GPIO_FALLING
64
#endif
65
69
#define BUTTON0_PIN BTN0_PIN
70
81
/* include common board definitions as last step */
82
#include "board_common.h"
83
84
#ifdef __cplusplus
85
extern
"C"
{
86
#endif
87
91
static
inline
void
board_init
(
void
) {
92
/* there is nothing special to initialize on this board */
93
board_init_common
();
94
}
95
96
#ifdef __cplusplus
97
}
/* end extern "C" */
98
#endif
99
100
#endif
/* BOARD_H */
101
board_init_common
void board_init_common(void)
Initialize the hardware that is common for all ESP32 boards.
board_init
void board_init(void)
Board level initialization.
Generated on Tue Nov 24 2020 19:46:49 by
1.8.17