ESPHome  2024.10.2
Data Structures | Typedefs | Enumerations | Functions
esphome::rp2040_pio_led_strip Namespace Reference

Data Structures

class  RP2040PIOLEDStripLightOutput
 

Typedefs

using init_fn = void(*)(PIO pio, uint sm, uint offset, uint pin, float freq)
 

Enumerations

enum  RGBOrder : uint8_t {
  ORDER_RGB, ORDER_RBG, ORDER_GRB, ORDER_GBR,
  ORDER_BGR, ORDER_BRG
}
 
enum  Chipset : uint8_t {
  CHIPSET_WS2812, CHIPSET_WS2812B, CHIPSET_SK6812, CHIPSET_SM16703,
  CHIPSET_APA102, CHIPSET_CUSTOM = 0xFF
}
 

Functions

const char * rgb_order_to_string (RGBOrder order)
 

Typedef Documentation

◆ init_fn

using esphome::rp2040_pio_led_strip::init_fn = typedef void (*)(PIO pio, uint sm, uint offset, uint pin, float freq)

Definition at line 59 of file led_strip.h.

Enumeration Type Documentation

◆ Chipset

Enumerator
CHIPSET_WS2812 
CHIPSET_WS2812B 
CHIPSET_SK6812 
CHIPSET_SM16703 
CHIPSET_APA102 
CHIPSET_CUSTOM 

Definition at line 31 of file led_strip.h.

◆ RGBOrder

Enumerator
ORDER_RGB 
ORDER_RBG 
ORDER_GRB 
ORDER_GBR 
ORDER_BGR 
ORDER_BRG 

Definition at line 22 of file led_strip.h.

Function Documentation

◆ rgb_order_to_string()

const char* esphome::rp2040_pio_led_strip::rgb_order_to_string ( RGBOrder  order)
inline

Definition at line 40 of file led_strip.h.