Function SetDword

Top 

Declaration:

void SetDword(unsigned long addr, int addr_space, unsigned long value);

Description

Writes a double word (32 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

SetDword(0x2000, AS_CODE, 0x12345678);