Toggle navigation
Documentation
The friendly Operating System for the Internet of Things
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
9
#pragma once
10
33
#include <stdint.h>
34
48
#define BTN0_PIN GPIO0
49
56
#define BTN0_MODE GPIO_IN
57
61
#ifndef BTN0_INT_FLANK
62
#define BTN0_INT_FLANK GPIO_FALLING
63
#endif
64
68
#define BUTTON0_PIN BTN0_PIN
69
80
/* include common board definitions as last step */
81
#include "board_common.h"
82
83
#ifdef __cplusplus
84
extern
"C"
{
85
#endif
86
87
#ifdef __cplusplus
88
}
/* end extern "C" */
89
#endif
90
Generated on Thu Jun 26 2025 14:14:43 by
1.9.1