--- In [email protected], "John Matthews" <jm5...@...> wrote: > > --- In [email protected], "Sharma, Hans Raj \(London\)" > <hansraj_sharma@> wrote: > > > > Can someone please help me understand how can I write a program which, > > using volatile variable, access some memory mapped devices? > > volatile unsigned char *const reg = 0x1234;
...or: #define reg ((volatile unsigned char *)0x1234)
