I am trying to declare a variable at a particular location 0xE0028000 and want to initialize it = 0x04 as given below:
#define IOPIN0 (*((volatile unsigned long *) 0xE0028000))
IOPIN0=0x4 ;
But i am getting the errors as given below:
errors:
Description Resource Path Location Type
#145 a value of type "int" cannot be used to initialize an entity of type "int *" main.c /lab13 line 20 C/C++ Problem
Description Resource Path Location Type
#18 expected a ")" main.c /lab13 line 20 C/C++ Problem
Description Resource Path Location Type
#41 expected an identifier main.c /lab13 line 20 C/C++ Problem