ESP-IDF Firmware
Firmware architecture and call graph
Loading...
Searching...
No Matches
led_strip_types.h File Reference
#include <stdint.h>
Include dependency graph for led_strip_types.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  led_strip_config_t
 LED Strip Configuration. More...

Typedefs

typedef struct led_strip_tled_strip_handle_t
 LED strip handle.

Enumerations

enum  led_pixel_format_t { LED_PIXEL_FORMAT_GRB , LED_PIXEL_FORMAT_GRBW , LED_PIXEL_FORMAT_INVALID }
 LED strip pixel format. More...
enum  led_model_t { LED_MODEL_WS2812 , LED_MODEL_SK6812 , LED_MODEL_INVALID }
 LED strip model. More...

Typedef Documentation

◆ led_strip_handle_t

LED strip handle.

Definition at line 36 of file led_strip_types.h.

Enumeration Type Documentation

◆ led_model_t

LED strip model.

Note
Different led model may have different timing parameters, so we need to distinguish them.
Enumerator
LED_MODEL_WS2812 

LED strip model: WS2812

LED_MODEL_SK6812 

LED strip model: SK6812

LED_MODEL_INVALID 

Invalid LED strip model

Definition at line 27 of file led_strip_types.h.

27 {
led_model_t
LED strip model.
@ LED_MODEL_WS2812
@ LED_MODEL_SK6812
@ LED_MODEL_INVALID

◆ led_pixel_format_t

LED strip pixel format.

Enumerator
LED_PIXEL_FORMAT_GRB 

Pixel format: GRB

LED_PIXEL_FORMAT_GRBW 

Pixel format: GRBW

LED_PIXEL_FORMAT_INVALID 

Invalid pixel format

Definition at line 17 of file led_strip_types.h.

17 {
led_pixel_format_t
LED strip pixel format.
@ LED_PIXEL_FORMAT_GRB
@ LED_PIXEL_FORMAT_INVALID
@ LED_PIXEL_FORMAT_GRBW