FastLED 3.10.9
Loading...
Searching...
No Matches

◆ SlimSpiBridgeController()

template<fl::SpiChipset CHIPSET, EOrder RGB_ORDER, fl::Bus B, fl::u8 B_WHICH>
fl::SlimSpiBridgeController< CHIPSET, RGB_ORDER, B, B_WHICH >::SlimSpiBridgeController ( const SpiChipsetConfig & cfg)
inlineexplicit

Definition at line 90 of file slim_spi_bridge_controller.h.

93#endif
94 {
96#if defined(FL_IS_ESP32)
97 // The explicit-host addLeds() overload registers the native SPI
98 // driver itself; referencing it here would link the ESP-IDF SPI
99 // master stack (~20 KB) into every AUTO-host sketch.
100 if (mExplicitSpiHost) {
101 return;
102 }
103#endif
104 // Idempotent by contract -- safe to call from every instantiation's
105 // constructor (mirrors TypedChannel::create()'s registerWithManager() call).
107 }
static ChannelDataPtr create(const ChipsetVariant &chipset, fl::vector_psram< u8 > &&encodedData=fl::vector_psram< u8 >(), ChannelPixelFormat pixelFormat=ChannelPixelFormat::RGB) FL_NO_EXCEPT
Create channel transmission data (modern variant-based API)
Definition data.cpp.hpp:12
Shared legacy addLeds<ESPIChipsets ...>() bridge controller over an IChannelDriver,...
fl::variant< ClocklessChipset, SpiChipsetConfig > ChipsetVariant
Definition config.h:157

References fl::AUTO, fl::ChannelData::create(), fl::FL_NO_EXCEPT, and mData.

+ Here is the call graph for this function: