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

◆ spreadA()

FASTLED_FORCE_INLINE u32 fl::detail::spreadA ( u8 v)

Pulses 7,6,5,4 of v (byte j = bit (7-j)). Depends only on the high nibble.

Definition at line 35 of file bit_spread_lut.hpp.

35{ return kSpreadNibble[v >> 4]; }
constexpr u32 kSpreadNibble[16]
kSpreadNibble[n] places the 4 bits of nibble n at bit 0 of 4 separate bytes: byte0 = bit3(n),...

References FASTLED_FORCE_INLINE, and kSpreadNibble.

Referenced by spread_transpose16_symbol(), spread_transpose8_symbol(), and wave8_transpose_4_bf1().

+ Here is the caller graph for this function: