The ANSELB register
controls the operation of the analog PortB pins.
Name:
ANSELB
Offset:
0x100
Reset:
0xCCFF
Property:
-
Bit
31
30
29
28
27
26
25
24
Access
Reset
Bit
23
22
21
20
19
18
17
16
Access
Reset
Bit
15
14
13
12
11
10
9
8
ANSBx
ANSBx
ANSBx
ANSBx
Access
R/W
R/W
R/W
R/W
Reset
1
1
1
1
Bit
7
6
5
4
3
2
1
0
ANSBx
ANSBx
ANSBx
ANSBx
ANSBx
ANSBx
ANSBx
ANSBx
Access
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
Reset
1
1
1
1
1
1
1
1
Bits 0,1,2,3,4,5,6,7,10,11,14,15 – ANSBx (x =
0,1,2,3,4,5,6,7,10,11,14,15; x = 0 for bit0, … x = 15 for bit15) Analog Select for
PB
Configures the PB as an analog
input when this bit is set to ‘1’.
The online versions of the documents are provided as a courtesy. Verify all content and data in the device’s PDF documentation found on the device product page.