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