FastLED 3.9.15
Loading...
Searching...
No Matches
memmove.h
Go to the documentation of this file.
1#pragma once
2
9
10#if defined(__AVR__) || defined(FASTLED_DOXYGEN)
11extern "C" {
12void * memmove8( void * dst, const void * src, uint16_t num );
13void * memcpy8 ( void * dst, const void * src, uint16_t num ) __attribute__ ((noinline));
14void * memset8 ( void * ptr, uint8_t value, uint16_t num ) __attribute__ ((noinline)) ;
15}
16#else
17// on non-AVR platforms, these names just call standard libc.
18#define memmove8 memmove
19#define memcpy8 memcpy
20#define memset8 memset
21#endif
22
void * memcpy8(void *dst, const void *src, uint16_t num)
Faster alternative to memcpy() on AVR.
void * memset8(void *ptr, uint8_t value, uint16_t num)
Faster alternative to memset() on AVR.
void * memmove8(void *dst, const void *src, uint16_t num)
Faster alternative to memmove() on AVR.