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

◆ wave3()

void fl::wave3 ( u8 lane,
const Wave3BitExpansionLut & lut,
u8(&) output[sizeof(Wave3Byte)] )

Convert byte to 3 wave3 bytes using nibble LUT.

Note
Inline implementation for ISR performance

Definition at line 190 of file wave3.hpp.

192 {
193 Wave3Byte wave3_output;
194 detail::wave3_convert_byte_to_wave3byte(lane, lut, &wave3_output);
195 output[0] = wave3_output.data[0];
196 output[1] = wave3_output.data[1];
197 output[2] = wave3_output.data[2];
198}
FASTLED_FORCE_INLINE FL_IRAM FL_OPTIMIZE_FUNCTION void wave3_convert_byte_to_wave3byte(u8 byte_value, const Wave3BitExpansionLut &lut, Wave3Byte *output)
Helper: Convert byte to Wave3Byte using nibble LUT (internal use only)
Definition wave3.hpp:27
u8 data[3]
Definition wave3.h:21
Type-safe container for 3-byte wave pulse pattern (wave3 encoding)
Definition wave3.h:20

References fl::Wave3Byte::data, FL_RESTRICT_PARAM, and fl::detail::wave3_convert_byte_to_wave3byte().

+ Here is the call graph for this function: