Doubt 2: orange part, if I want to open PIO0_1 CLKOUT
Why have to written PIO0_1=0 xd1; Rather than PIO0_1=0 x01
Question 3: the red part, I know that is the value of the reset but why write 3 0, or have written 10 again, or only a 0, and 0011 o what meaning of this don't understand
CodePudding user response:
I fuck I finally realize to the hateful is silly force meRespectively explain
Yellow areas: 2-0, 4:3, 5, 9:6, why write so, we should look from right to left!!!!!!
The first box (2-0) occupied by the three were bit0, bit1 and bit2
The second frame (4:3) occupied by the two were bit3, bit4
The third box (5) the occupies one bit5
The fourth box (or) take up 4 bit6 bit7 bit8 combination
Fifth box (10) occupies one bit10
The bottom of the (an) are all reserved bit, which means it omitted so wrote
I haven't read tm is silly force the...
Red areas: with the above understanding, from right to left to see
(this is a 32 bit MCU, manual only show the first 11 bit)
. 000 1101 0000 this is the order, ellipsis representative doesn't tell us the reset value of 0
Orange part: understand the reset value side other say,
Write 0 xd1 because binary number turn hexadecimal is just D1, and does not destroy the value of the other person if it is 0 x01 and destroys it originally of other values,