FastLED 3.10.8
Loading...
Searching...
No Matches

◆ wave8Transpose_2() [1/2]

void fl::wave8Transpose_2 ( const u8(&) lanes[2],
const Wave8BitExpansionLut & lut,
u8(&) output[2 *sizeof(Wave8Byte)] )

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

28 {
29 // Allocate waveform buffers on stack (16 Wave8Bit total: 8 packed bytes per lane × 2 lanes)
30 // Each Wave8Byte is 8 bytes (8 Wave8Bit × 1 byte each)
31 // Layout: [Lane0_bit7, Lane0_bit6, ..., Lane0_bit0, Lane1_bit7, Lane1_bit6, ..., Lane1_bit0]
32 Wave8Byte laneWaveformSymbols[2];
33
34 // Convert each lane byte to wave pulse symbols (8 packed bytes each)
35 detail::wave8_convert_byte_to_wave8byte(lanes[0], lut, &laneWaveformSymbols[0]);
36 detail::wave8_convert_byte_to_wave8byte(lanes[1], lut, &laneWaveformSymbols[1]);
37
38 // Transpose waveforms to DMA format (interleave 8 packed bytes to 16 bytes)
39 detail::wave8_transpose_2(laneWaveformSymbols, output);
40}
FL_IRAM FL_OPTIMIZE_FUNCTION void wave8_transpose_2(const Wave8Byte lane_waves[2], u8 output[2 *sizeof(Wave8Byte)]) FL_NO_EXCEPT
Definition wave8.cpp.hpp:48
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

References FL_NO_EXCEPT, FL_RESTRICT_PARAM, fl::detail::wave8_convert_byte_to_wave8byte(), and fl::detail::wave8_transpose_2().

+ Here is the call graph for this function: