Loading...
Searching...
No Matches
board.h
Go to the documentation of this file.
1/*
2 * SPDX-FileCopyrightText: 2018 Gunar Schorcht
3 * SPDX-License-Identifier: LGPL-2.1-only
4 */
5
6#pragma once
7
29
30#include <stdint.h>
31
36
45#define BTN0_PIN GPIO0
46
53#define BTN0_MODE GPIO_IN
54
58#ifndef BTN0_INT_FLANK
59#define BTN0_INT_FLANK GPIO_FALLING
60#endif
61
65#define BUTTON0_PIN BTN0_PIN
66
68
76
77/* include common board definitions as last step */
78#include "board_common.h"
79
80#ifdef __cplusplus
81extern "C" {
82#endif
83
84#ifdef __cplusplus
85} /* end extern "C" */
86#endif
87