6.11.15 Analog Select Register for PortB

The ANSELB register controls the operation of the analog PortB pins.
Name: ANSELB
Offset: 0x100
Reset: 0x8
Property: -

Bit 3130292827262524 
          
Access  
Reset  
Bit 2322212019181716 
          
Access  
Reset  
Bit 15141312111098 
          
Access  
Reset  
Bit 76543210 
 ANSBxANSBxANSBxANSBxANSBxANSBxANSBxANSBx 
Access R/WR/WR/WR/WR/WR/WR/WR/W 
Reset 00000001 

Bits 0,1,2,3,4,5,6,7 – ANSBx (x = 0 to 7; x = 0 for bit0, … x = 7 for bit7) Analog Select for PB

Configures the PB as an analog input when this bit is set to ‘1’.