215 {
216 if (const ClocklessChipset* clockless = chipset.ptr<ClocklessChipset>()) {
217 switch (clockless->encoder) {
219 return &Channel::encodeWS2812;
221 return &Channel::encodeTM1812RGBWW;
223 return &Channel::encodeTM1908;
224#if !defined(FASTLED_DISABLE_UCS7604) || !FASTLED_DISABLE_UCS7604
228 return &Channel::encodeUCS7604;
229#endif
230 }
231 } else if (const SpiChipsetConfig* spi = chipset.ptr<SpiChipsetConfig>()) {
232#if !defined(FASTLED_DISABLE_SPI_CHIPSETS) || !FASTLED_DISABLE_SPI_CHIPSETS
233 switch (spi->timing.chipset) {
240 return &Channel::encodeAPA102;
243 return &Channel::encodeSK9822;
245 return &Channel::encodeWS2801;
247 return &Channel::encodeWS2803;
249 return &Channel::encodeP9813;
251 return &Channel::encodeLPD8806;
253 return &Channel::encodeLPD6803;
255 return &Channel::encodeSM16716;
257 return &Channel::encodeMY9221;
259 return &Channel::encodeHD108;
260 }
261#endif
262 }
263 return nullptr;
264}
@ CLOCKLESS_ENCODER_UCS7604_8BIT
UCS7604 8-bit 800KHz.
@ CLOCKLESS_ENCODER_TM1812_RGBWW
TM1812: two 5-byte RGBWW pixels in each 12-byte IC frame.
@ CLOCKLESS_ENCODER_UCS7604_16BIT
UCS7604 16-bit 800KHz.
@ CLOCKLESS_ENCODER_UCS7604_16BIT_1600
UCS7604 16-bit 1600KHz.
@ CLOCKLESS_ENCODER_WS2812
Default, no preamble (WS2812 and compatible)
@ CLOCKLESS_ENCODER_TM1908
TM1908: command prefix followed by RGB pixels.
@ SM16716
SM16716 LED chipset.
@ LPD6803
LPD6803 LED chipset.
@ APA102HD
APA102 LED chipset with 5-bit gamma correction.
@ HD107
Same as APA102, but in turbo 40-mhz mode.
@ DOTSTARHD
APA102HD LED chipset alias.
@ SK9822HD
SK9822 LED chipset with 5-bit gamma correction.
@ SK9822
SK9822 LED chipset.
@ DOTSTAR
APA102 LED chipset alias.
@ P9813
P9813 LED chipset.
@ APA102
APA102 LED chipset.
@ HD108
16-bit variant of HD107, always gamma corrected. No SD (standard definition) option available - all H...
@ LPD8806
LPD8806 LED chipset.
@ WS2803
WS2803 LED chipset.
@ MY9221
MY9221 12-channel LED driver (dual-edge clocked; 4 RGB LEDs per chip)
@ WS2801
WS2801 LED chipset.
@ HD107HD
Same as APA102HD, but in turbo 40-mhz mode.