Toggle navigation
Documentation
The friendly Operating System for the Internet of Things
Loading...
Searching...
No Matches
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
88
#ifdef __cplusplus
89
}
/* end extern "C" */
90
#endif
91
92
#endif
/* BOARD_H */
Generated on Thu Nov 21 2024 20:03:49 by
1.9.8