FastLED 3.10.10
Loading...
Searching...
No Matches

◆ SlimBridgeController()

template<int DATA_PIN, typename TIMING, EOrder RGB_ORDER, int WAIT_TIME, typename DriverTraits, int XTRA0 = 0, bool DIRECT_SHOW = SlimBridgeDirectShow<>::value, bool BATCHED_DIRECT_SHOW = false>
fl::SlimBridgeController< DATA_PIN, TIMING, RGB_ORDER, WAIT_TIME, DriverTraits, XTRA0, DIRECT_SHOW, BATCHED_DIRECT_SHOW >::SlimBridgeController ( )
inline

Definition at line 166 of file slim_bridge_controller.h.

166 {
168 // (A?) Fold WAIT_TIME (microseconds) into reset_us, mirroring the
169 // historical ClocklessIdf4 behavior: the driver must honor whichever
170 // is longer -- the chipset's own latch/reset requirement, or the
171 // caller-requested minimum inter-frame wait.
172 if (WAIT_TIME > 0 && static_cast<u32>(WAIT_TIME) > timing.reset_us) {
173 timing.reset_us = static_cast<u32>(WAIT_TIME);
174 }
175 // A clockless controller bound to a unified parallel-IO bus needs
176 // that engine's clockless pipeline linked (#4793).
180 FL_STATIC_ASSERT(XTRA0 >= 0 && XTRA0 <= 32, "XTRA0 out of range");
181 if (XTRA0 != 0) {
182 mData->setExtraZeroBitsPerByte(static_cast<u8>(XTRA0));
183 }
184 // Idempotent by contract -- safe to call from every instantiation's
185 // constructor (mirrors ClocklessIdf5's registerWithManager() call).
186 // A no-op in direct-show mode.
188 }
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<>() bridge controller over an IChannelDriver.
void enable_clockless() FL_NO_EXCEPT
Definition bus_traits.h:69
constexpr ChipsetTimingConfig makeTimingConfig() FL_NO_EXCEPT
Convert compile-time CHIPSET type to runtime timing config.
#define FL_STATIC_ASSERT(...)