14.6.11 ANSELB

Analog Select Register
Note: When setting a pin to an analog input, the corresponding TRIS bit must be set to Input mode in order to allow external control of the voltage on the pin.
Name: ANSELB
Offset: 0x1F43

Bit 76543210 
 ANSELB7ANSELB6ANSELB5ANSELB4     
Access R/WR/WR/WR/W 
Reset 1111 

Bits 4, 5, 6, 7 – ANSELBn Analog Select on RB Pins

ValueDescription
1 Analog input. Pin is assigned as analog input. Digital input buffer disabled.
0 Digital I/O. Pin is assigned to port or digital special function.
When setting a pin to an analog input, the corresponding TRIS bit must be set to Input mode in order to allow external control of the voltage on the pin.