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 
21 #ifdef __cplusplus
22 extern "C" {
23 #endif
24 
29 #ifdef MODULE_WS281X_ATMEGA
30 #define WS281X_HAVE_INIT (1)
31 #endif
38 #ifdef MODULE_WS281X_ESP32
39 #define WS281X_HAVE_INIT (1)
40 #endif
47 #ifdef MODULE_WS281X_VT100
48 #define WS281X_HAVE_PREPARE_TRANSMISSION (1)
49 #define WS281X_HAVE_END_TRANSMISSION (1)
50 #endif
57 #ifdef MODULE_WS281X_TIMER_GPIO_LL
58 #define WS281X_HAVE_INIT (1)
59 #endif
62 #ifdef __cplusplus
63 }
64 #endif
65