ESP-IDF Firmware
Firmware architecture and call graph
Loading...
Searching...
No Matches
led_strip_types.h
Go to the documentation of this file.
1/*
2 * SPDX-FileCopyrightText: 2022-2023 Espressif Systems (Shanghai) CO LTD
3 *
4 * SPDX-License-Identifier: Apache-2.0
5 */
6#pragma once
7
8#include <stdint.h>
9
10#ifdef __cplusplus
11extern "C" {
12#endif
13
22
32
37
41typedef struct {
43 uint32_t max_leds;
46
47 struct {
48 uint32_t invert_out: 1;
49 } flags;
51
52#ifdef __cplusplus
53}
54#endif
led_model_t
LED strip model.
@ LED_MODEL_WS2812
@ LED_MODEL_SK6812
@ LED_MODEL_INVALID
led_pixel_format_t
LED strip pixel format.
@ LED_PIXEL_FORMAT_GRB
@ LED_PIXEL_FORMAT_INVALID
@ LED_PIXEL_FORMAT_GRBW
struct led_strip_t * led_strip_handle_t
LED strip handle.
LED Strip Configuration.
led_pixel_format_t led_pixel_format
LED strip interface definition.