Loading...
Searching...
No Matches
ws281x_backend.h
Go to the documentation of this file.
1/*
2 * SPDX-FileCopyrightText: 2019 Marian Buschsieweke
3 * SPDX-License-Identifier: LGPL-2.1-only
4 */
5
6#pragma once
7
17
18#ifdef __cplusplus
19extern "C" {
20#endif
21
26#ifdef MODULE_WS281X_ATMEGA
27# define WS281X_HAVE_INIT (1)
28#endif
30
35#ifdef MODULE_WS281X_ESP32
36# define WS281X_HAVE_INIT (1)
37#endif
39
44#ifdef MODULE_WS281X_VT100
45# define WS281X_HAVE_PREPARE_TRANSMISSION (1)
46# define WS281X_HAVE_END_TRANSMISSION (1)
47#endif
49
54#ifdef MODULE_WS281X_TIMER_GPIO_LL
55# define WS281X_HAVE_INIT (1)
56#endif
58
63#ifdef MODULE_WS281X_SPI
64# define WS281X_HAVE_INIT (1)
65# define WS281X_HAVE_PREPARE_TRANSMISSION (1)
66# define WS281X_HAVE_END_TRANSMISSION (1)
67#endif
69
70#ifdef __cplusplus
71}
72#endif
73