The DARRAY macro may be used to access an array of type
object at a fixed absolute address base in the data
memory class. The DARRAY macros scales the index by the size
of object and adds the result to base. The final
address is then used to access the memory.
You may use the DARRAY macro in your programs as shown in
the example below:
#include <absacc.h> /* include absolute memory access macros */
:
:
int i;
long l;
l = DARRAY (long, 0x80)[i]; /* long array at IDATA 0x80 */
DARRAY (long, 0x80)[i] = 0x12345678; /* assign a value */
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.