board.h
Go to the documentation of this file.
1 /*
2  * Copyright (C) 2025 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 
29 #include <stdint.h>
30 
44 #define BTN0_PIN GPIO9
45 
52 #define BTN0_MODE GPIO_IN_PU
53 
57 #ifndef BTN0_INT_FLANK
58 # define BTN0_INT_FLANK GPIO_FALLING
59 #endif
60 
64 #define BUTTON0_PIN BTN0_PIN
65 
75 #ifndef WS281X_PARAM_PIN
76 # define WS281X_PARAM_PIN (GPIO8)
77 #endif
78 #ifndef WS281X_PARAM_NUMOF
79 # define WS281X_PARAM_NUMOF (1U)
80 #endif
83 /* include common board definitions as last step */
84 #include "board_common.h"
85 
86 #ifdef __cplusplus
87 extern "C" {
88 #endif
89 
90 #ifdef __cplusplus
91 } /* end extern "C" */
92 #endif
93