1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-12-17 18:43:50 +01:00
RIOT/drivers/ws281x/include/ws281x_backend.h
Marian Buschsieweke cac44edec7
tree-wide: replace multiple empty lines with one
For each C source/header `$file`: `sed -e '/^$/N;/^\n$/D' -i $file`.
2025-05-21 22:51:04 +02:00

67 lines
1.2 KiB
C

/*
* Copyright (C) 2019 Marian Buschsieweke
*
* This file is subject to the terms and conditions of the GNU Lesser
* General Public License v2.1. See the file LICENSE in the top level
* directory for more details.
*/
#pragma once
/**
* @ingroup drivers_ws281x
*
* @{
* @file
* @brief Backend configuration for WS2812/SK6812 RGB LEDs
*
* @author Marian Buschsieweke <marian.buschsieweke@ovgu.de>
*/
#ifdef __cplusplus
extern "C" {
#endif
/**
* @name Properties of the ATmega backend.
* @{
*/
#ifdef MODULE_WS281X_ATMEGA
#define WS281X_HAVE_INIT (1)
#endif
/** @} */
/**
* @name Properties of the ESP32 backend.
* @{
*/
#ifdef MODULE_WS281X_ESP32
#define WS281X_HAVE_INIT (1)
#endif
/** @} */
/**
* @name Properties of the VT100 terminal backend.
* @{
*/
#ifdef MODULE_WS281X_VT100
#define WS281X_HAVE_PREPARE_TRANSMISSION (1)
#define WS281X_HAVE_END_TRANSMISSION (1)
#endif
/** @} */
/**
* @name Properties of the timer_gpio_ll backend.
* @{
*/
#ifdef MODULE_WS281X_TIMER_GPIO_LL
#define WS281X_HAVE_INIT (1)
#endif
/** @} */
#ifdef __cplusplus
}
#endif
/** @} */