FastLED 3.10.6
Loading...
Searching...
No Matches

◆ effectiveFrequencyRange()

FreqRange fl::can_match_detail::effectiveFrequencyRange ( const DriverCapabilities & caps,
const PinGroup & g )
inline

Definition at line 33 of file can_match.cpp.hpp.

34 {
35 if (!g.frequency.isUnspecified()) {
36 return g.frequency;
37 }
38 return (g.protocol == Protocol::Clockless)
40 : caps.spi_frequency;
41}
InputGamut g
Definition rgbw.h:124
@ Clockless
Single data line + async timing (WS2812, SK6812, ...)
FreqRange clockless_frequency
Aggregate frequency ranges.

References fl::Clockless, fl::FL_NO_EXCEPT, and fl::g.

Referenced by checkOneGroup().

+ Here is the caller graph for this function: