Loading...
Searching...
No Matches
ws281x_backend.h
Go to the documentation of this file.
1/*
2 * Copyright (C) 2019 Marian Buschsieweke
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
20
21#ifdef __cplusplus
22extern "C" {
23#endif
24
29#ifdef MODULE_WS281X_ATMEGA
30#define WS281X_HAVE_INIT (1)
31#endif
33
38#ifdef MODULE_WS281X_ESP32
39#define WS281X_HAVE_INIT (1)
40#endif
42
47#ifdef MODULE_WS281X_VT100
48#define WS281X_HAVE_PREPARE_TRANSMISSION (1)
49#define WS281X_HAVE_END_TRANSMISSION (1)
50#endif
52
57#ifdef MODULE_WS281X_TIMER_GPIO_LL
58#define WS281X_HAVE_INIT (1)
59#endif
61
62#ifdef __cplusplus
63}
64#endif
65