Nothing whacky there.
The WPUA register defaults to %00111111 on power-up.
If you do WPUA.3 = 1
nothing changes, because that bit is already a 1.
You have to disable pull-ups on the pins you don't want pulled-up.
The numbers over each bit show the POR/BOR defaults.
![]()
Bookmarks