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
19#ifndef WS281X_BACKEND_H
20#define WS281X_BACKEND_H
21
22#ifdef __cplusplus
23extern "C" {
24#endif
25
30#ifdef MODULE_WS281X_ATMEGA
31#define WS281X_HAVE_INIT (1)
32#endif
39#ifdef MODULE_WS281X_ESP32
40#define WS281X_HAVE_INIT (1)
41#endif
48#ifdef MODULE_WS281X_VT100
49#define WS281X_HAVE_PREPARE_TRANSMISSION (1)
50#define WS281X_HAVE_END_TRANSMISSION (1)
51#endif
58#ifdef MODULE_WS281X_TIMER_GPIO_LL
59#define WS281X_HAVE_INIT (1)
60#endif
63#ifdef __cplusplus
64}
65#endif
66
67#endif /* WS281X_BACKEND_H */