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

◆ memcpy_32()

FL_OPTIMIZE_FUNCTION FL_IRAM FASTLED_FORCE_INLINE void fl::isr::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.

Parameters
dstDestination pointer (must be 4-byte aligned)
srcSource pointer (must be 4-byte aligned)
countNumber of 32-bit words to copy (NOT bytes)
Note
Only call with 4-byte aligned pointers and valid count

Definition at line 32 of file memcpy.h.

34 {
35 for (size_t i = 0; i < count; i++) {
36 dst[i] = src[i];
37 }
38}

References FL_RESTRICT_PARAM.

Referenced by memcpy(), fl::wave8(), fl::detail::wave8_convert_byte_to_wave8byte(), and fl::detail::wave8_expand_byte().

+ Here is the caller graph for this function: