for example, i write code like this:
REFDV = 0x01;

so i expected that REFDIV0 = 1
but when i run this code(using Trace32)

(before)

(after)
the REFFRQ1 became 1, seems like reversed when writing.
And it have the same problem in reading. If i want to read bit3( REGISTER_BIT3), have to use the bit4( REGISTER_BIT4)....
(though the REFDV.Byte=1 in the watch)
And i'm very confuse about this.
So if anyone have ideas?
If it is problem with bit order or something else?