MCPcopy Create free account
hub / github.com/FastLED/FastLED / getTimingFromChipset

Function getTimingFromChipset

src/fl/channels/chipset_helpers.h:16–21  ·  view source on GitHub ↗

Helper to extract timing from chipset variant (clockless only)

Source from the content-addressed store, hash-verified

14
15// Helper to extract timing from chipset variant (clockless only)
16inline ChipsetTimingConfig getTimingFromChipset(const ChipsetVariant& chipset) {
17 if (const ClocklessChipset* clockless = chipset.ptr<ClocklessChipset>()) {
18 return clockless->timing;
19 }
20 return ChipsetTimingConfig(0, 0, 0, 0); // Invalid/empty timing for SPI
21}
22
23} // namespace fl

Callers

nothing calls this directly

Calls 1

ChipsetTimingConfigClass · 0.85

Tested by

no test coverage detected