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
9#pragma once
10
31
32#include <stdint.h>
33
38
47#define BTN0_PIN GPIO9
48
55#define BTN0_MODE GPIO_IN_PU
56
60#ifndef BTN0_INT_FLANK
61#define BTN0_INT_FLANK GPIO_FALLING
62#endif
63
67#define BUTTON0_PIN BTN0_PIN
68
70
78#ifndef WS281X_PARAM_PIN
79#define WS281X_PARAM_PIN (GPIO8)
80#endif
81#ifndef WS281X_PARAM_NUMOF
82#define WS281X_PARAM_NUMOF (1U)
83#endif
85
86/* include common board definitions as last step */
87#include "board_common.h"
88
89#ifdef __cplusplus
90extern "C" {
91#endif
92
93#ifdef __cplusplus
94} /* end extern "C" */
95#endif
96