Loading...
Searching...
No Matches
board.h
Go to the documentation of this file.
1/*
2 * Copyright (C) 2025 David Picard
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
19
20#include <stdint.h>
21
22#if MODULE_PERIPH_INIT_BUTTONS || DOXYGEN
27
40#define BTN0_PIN GPIO9
41
50#define BTN0_MODE GPIO_IN
51
55#ifndef BTN0_INT_FLANK
56#define BTN0_INT_FLANK GPIO_FALLING
57#endif
58
62#define BUTTON0_PIN BTN0_PIN
63
65#endif
66
67/* include common board definitions as last step */
68#include "board_common.h"
69
70#ifdef __cplusplus
71extern "C" {
72#endif
73
74#ifdef __cplusplus
75} /* end extern "C" */
76#endif
77