GetWord

Top 


 

unsigned int GetWord(unsigned long addr, int addr_space);

 Description

To read a word (16 bits) from a specified memory area{addr_sp} (parameter addr_space) at a specified address.

 Returned address

Read word.

 Example

printf("%04X", GetWord(0, 0x1F));