14.6.12 ANSELC
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.
- 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 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 | |
ANSELC7 | ANSELC6 | ANSELC5 | ANSELC4 | ANSELC3 | ANSELC2 | ANSELC1 | ANSELC0 | ||
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 – ANSELCn Analog Select on RC Pins
Value | Description |
---|---|
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. |