Declaration:
void SetByte(unsigned long addr, int addr_space, unsigned int value);
Description
Writes value (byte) to the specified address in the specified memory area (the parameter). Constants with the AS_ prefix for microcontroller memory areas (address spaces) are defined in the system.h header file.
Example
SetByte(0x2000, AS_CODE, 0xFF);
|