if i write to macro "SELECT" is it so i am writing to the perticular address as shown below ??
Can sombody explain what "Volatile" supports here.
whether typecast should be int or long ?
--------------------------------
---------------------------------Code:#define SELECT (*( volatile Unsigned int* )(0x106000 )) or #define SELECT (*( volatile unsigned long* )(0x106000 )) -------------------------------- which is correct ??
int is 2 bytes
Long is 4 bytes