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

◆ wave8()

void fl::wave8 ( u8 lane,
const Wave8BitExpansionLut & lut,
u8(&) output[sizeof(Wave8Byte)] )

Public single-lane wave8 encoder.

Thin wrapper around detail::wave8_convert_byte_to_wave8byte + a memcpy — kept for source-compat with existing callers.

Definition at line 345 of file wave8.cpp.hpp.

347 {
348 Wave8Byte waveformSymbol;
349 detail::wave8_convert_byte_to_wave8byte(lane, lut, &waveformSymbol);
351 fl::bit_cast_ptr<const u32>(&waveformSymbol.symbols[0].data),
352 2);
353}
FL_IRAM FL_OPTIMIZE_FUNCTION void wave8_convert_byte_to_wave8byte(u8 byte_value, const Wave8BitExpansionLut &lut, Wave8Byte *output) FL_NO_EXCEPT
Definition wave8.cpp.hpp:24
FL_OPTIMIZE_FUNCTION FL_IRAM FASTLED_FORCE_INLINE void memcpy_32(u32 *FL_RESTRICT_PARAM dst, const u32 *FL_RESTRICT_PARAM src, size_t count)
ISR-optimized 32-bit block copy for 4-byte aligned memory.
Definition memcpy.h:32
To * bit_cast_ptr(void *storage) FL_NO_EXCEPT
Definition bit_cast.h:60

References bit_cast_ptr(), FL_NO_EXCEPT, FL_RESTRICT_PARAM, fl::isr::memcpy_32(), and fl::detail::wave8_convert_byte_to_wave8byte().

+ Here is the call graph for this function: