Shadow register access type

Hi,

I am getting access type of register using get_access() and to check if write is happening for RO and read for WO .But I have some R and clear on write shadow registers.Now if I give write to this register my sequence is thinking as RO and throwing error while I write.Shadow registers are defined as RO and WO for same offset.

In reply to jaswanth_b:

If you want to check the access rights of your registers. You can do this using the backdoor intructions peek and poke. This modfies a RO register and you can read the corresponding value back. The same goes with the otther commands.