Declaration:
void SetMemory(void src[], int n, unsigned long addr, int addr_space);
Description
Writes n-byte memory block to the specified address in the specified memory area (the addr_space parameter) from the src array. Constants with the prefix for microcontroller memory areas (address spaces) are defined in the system.h header file.
Example
SetMemory("12345678", 8, 0x20, AS_DATA);
|