Loading...
Searching...
No Matches
board.h
Go to the documentation of this file.
1/*
2 * SPDX-FileCopyrightText: 2022 Gunar Schorcht
3 * SPDX-License-Identifier: LGPL-2.1-only
4 */
5
6#pragma once
7
28
29#include <stdint.h>
30
35
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
67
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
82
83/* include common board definitions as last step */
84#include "board_common.h"
85
86#ifdef __cplusplus
87extern "C" {
88#endif
89
90#ifdef __cplusplus
91} /* end extern "C" */
92#endif
93