...
This function can be configured to build an assembly-optimized version (see section 4-4-11).
Example Usage
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
CPU_INT08U AppBuf[10]; CPU_INT08U DataBuf[20]; /* Set data buffer with value. */ Mem_Set ((void *)&DataBuf[0], (CPU_INT08U) 0x64, (CPU_SIZE_T) sizeof(DataBuf)); /* Copy data buffer to app buffer. */ Mem_Copy((void *)&AppBuf[0], (void *)&DataBuf[0], (CPU_SIZE_T) sizeof(AppBuf)); |