FastLED 3.9.15
Loading...
Searching...
No Matches

◆ makeTimingConfig()

template<typename CHIPSET>
ChipsetTimingConfig fl::makeTimingConfig ( )
constexpr

Convert compile-time CHIPSET type to runtime timing config.

Extracts T1/T2/T3/RESET from a compile-time chipset traits type. The encoder selector is extracted separately via encoder_for<TIMING>() (see clockless_encoder.h) and stored on ClocklessChipset, not here.

Template Parameters
CHIPSETChipset timing trait (e.g., TIMING_WS2812_800KHZ)
Returns
Runtime timing configuration for the chipset
Examples
/home/runner/work/FastLED/FastLED/src/fl/channels/config.h, and Sailboat.ino.

Definition at line 63 of file chipset_timing_config.h.

63 {
64 return {
65 CHIPSET::T1, // t1_ns
66 CHIPSET::T2, // t2_ns
67 CHIPSET::T3, // t3_ns
68 CHIPSET::RESET, // reset_us
69 "CHIPSET" // name (generic placeholder)
70 };
71}

References FL_NOEXCEPT.

Referenced by makeClockless(), autoresearch::maybeRegisterStubAutorun(), AutoResearchRemoteControl::registerFunctions(), AutoResearchRemoteControl::runParallelTestImpl(), AutoResearchRemoteControl::runSingleTestImpl(), setup(), and autoresearch::parlio_stream::validateParlioStreaming().

+ Here is the caller graph for this function: