Reputation: 345
From the manual , in Bits 12-8 , the default value is 0x10 , meaning that only Bit 9 is 1.
From the calculator it shows b10 0000 0000 = 0x200
. But why does the document say its 0x1000
instead?
Upvotes: 0
Views: 891
Reputation: 750
Each hexadecimal digit corresponds to 4 bits (a.k.a. a nibble). In the number 0x10, only bit 5 is 1.
The correct conversion is this:
0x10 --> 1 0
0001 0000 --> 0b10000
Upvotes: 2