14.6.12 ANSELC

Analog Select Register
Note:
  1. 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.
  2. Bits ANSC6 and ANSC7 available on 20-pin or higher pin count devices only; bits unimplemented for lower pin count devices.
Name: ANSELC
Offset: 0x1F4E

Bit 76543210 
 ANSELC7ANSELC6ANSELC5ANSELC4ANSELC3ANSELC2ANSELC1ANSELC0 
Access R/WR/WR/WR/WR/WR/WR/WR/W 
Reset 11111111 

Bits 0, 1, 2, 3, 4, 5, 6, 7 – ANSELCn Analog Select on RC 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. Bits ANSC6 and ANSC7 available on 20-pin or higher pin count devices only; bits unimplemented for lower pin count devices.