I have some data in "REG".
If I copy some of my data to SPD0R(SLAVE Port Data Register) by using the following command
WrPortI(SPD0R,&SPD0RShadow,REG);
I get the error:
line 61 : WARNING PARALLEL 1.C : Wrong type for parameter 2.
line 61 : ERROR PARALLEL 1.C : Invalid expression - need lvalue.
line 61 : ERROR PARALLEL 1.C : SPD0RShadow is out of scope/ not declared.
Please suggest the solution for this.Hope to hear from you soon.