This example reads and writes the contents of the word in internal
data memory at address 0004h (2 × sizeof (unsigned int) = 4).
The range of valid index values for this macro is 0-127.
Note
The index used with this macro does not represent the memory
address of the integer value. To obtain the memory address, you
must multiply the index by the size of an integer (2 bytes).
This site uses cookies to store information on your computer. By continuing to use our site, you consent to our cookies.
ARM websites use two types of cookie: (1) those that enable the site to function and perform as required; and (2) analytical cookies which anonymously track visitors only while using the site. If you are not happy with this use of these cookies please review our Privacy Policy to learn how they can be disabled. By disabling cookies some features of the site will not work.