Toggle navigation
Documentation
The friendly Operating System for the Internet of Things
Loading...
Searching...
No Matches
board.h
Go to the documentation of this file.
1
/*
2
* Copyright (C) 2022 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
30
#ifndef BOARD_H
31
#define BOARD_H
32
33
#include <stdint.h>
34
48
#define BTN0_PIN GPIO9
49
56
#define BTN0_MODE GPIO_IN_PU
57
61
#ifndef BTN0_INT_FLANK
62
#define BTN0_INT_FLANK GPIO_FALLING
63
#endif
64
68
#define BUTTON0_PIN BTN0_PIN
69
79
#ifndef WS281X_PARAM_PIN
80
#define WS281X_PARAM_PIN (GPIO8)
81
#endif
82
#ifndef WS281X_PARAM_NUMOF
83
#define WS281X_PARAM_NUMOF (1U)
84
#endif
87
/* include common board definitions as last step */
88
#include "board_common.h"
89
90
#ifdef __cplusplus
91
extern
"C"
{
92
#endif
93
94
#ifdef __cplusplus
95
}
/* end extern "C" */
96
#endif
97
98
#endif
/* BOARD_H */
Generated on Wed Nov 27 2024 02:41:41 by
1.9.8