14.6.11 ANSELB
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 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 | |
ANSELB7 | ANSELB6 | ANSELB5 | ANSELB4 | ||||||
Access | R/W | R/W | R/W | R/W | |||||
Reset | 1 | 1 | 1 | 1 |
Bits 4, 5, 6, 7 – ANSELBn Analog Select on RB 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. |