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
23 extern "C" {
24 #endif
25 
30 #ifdef MODULE_WS281X_ATMEGA
31 #define WS281X_HAVE_INIT (1)
32 #endif
33 
39 #ifdef MODULE_WS281X_ESP32
40 #define WS281X_HAVE_INIT (1)
41 #endif
42 
48 #ifdef MODULE_WS281X_VT100
49 #define WS281X_HAVE_PREPARE_TRANSMISSION (1)
50 #define WS281X_HAVE_END_TRANSMISSION (1)
51 #endif
52 
54 #ifdef __cplusplus
55 }
56 #endif
57 
58 #endif /* WS281X_BACKEND_H */
59