How can we define a register in the code?

I want to use a slave port data register-SPD0R in my code(for RCM4000 MODULE).If I use it directly in my code ,it shows error that I have to define SPD0R in my code.So how can I define SPD0R in my code.Please help me on this?

This error is telling you that SPD0RShadow has not been defined anywhere. There is no shadow register defined for the SPD0R register. Use NULL instead for that parameter.