board.h
Go to the documentation of this file.
1 /*
2  * SPDX-FileCopyrightText: 2025 David Picard
3  * SPDX-License-Identifier: LGPL-2.1-only
4  */
5 
6 #pragma once
7 
17 #include <stdint.h>
18 
19 #if MODULE_PERIPH_INIT_BUTTONS || DOXYGEN
37 #define BTN0_PIN GPIO9
38 
47 #define BTN0_MODE GPIO_IN
48 
52 #ifndef BTN0_INT_FLANK
53 #define BTN0_INT_FLANK GPIO_FALLING
54 #endif
55 
59 #define BUTTON0_PIN BTN0_PIN
60 
62 #endif
63 
64 /* include common board definitions as last step */
65 #include "board_common.h"
66 
67 #ifdef __cplusplus
68 extern "C" {
69 #endif
70 
71 #ifdef __cplusplus
72 } /* end extern "C" */
73 #endif
74