Reg_field.configure(..volatile());

In reply to dave_59:

Hi Dave ,

Lets say we have a register with SW access as “RO” and HW access as “RW/WO” .

So if we were to write into it ( obviously it wouldn’t be reflected in register ) , so when we read it back ,
[A] Should it ( mirrored value ) would expect the default value to be read back ?

[B] But since HW is free to write into it , would we get a mirrored value mismatch ?
Even using volatile bit for the fields doesn’t resolve the issue

So how should we solve this issue ?