14.6.10 ANSELA

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: ANSELA
Offset: 0x1F38

Bit 76543210 
   ANSELA5ANSELA4 ANSELA2ANSELA1ANSELA0 
Access R/WR/WR/WR/WR/W 
Reset 11111 

Bits 4, 5 – ANSELAn Analog Select on RA 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.

Bits 0, 1, 2 – ANSELAn Analog Select on RA 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.