Datasheet
PIC18(L)F2X/4XK22
DS40001412G-page 150 2010-2016 Microchip Technology Inc.
REGISTER 10-4: ANSELB – PORTB ANALOG SELECT REGISTER
U-0 U-0 R/W-1 R/W-1 R/W-1 R/W-1 R/W-1 R/W-1
— — ANSB5 ANSB4 ANSB3 ANSB2 ANSB1 ANSB0
bit 7 bit 0
Legend:
R = Readable bit W = Writable bit U = Unimplemented bit, read as ‘0’
-n = Value at POR ‘1’ = Bit is set ‘0’ = Bit is cleared x = Bit is unknown
bit 7-6 Unimplemented: Read as ‘0’
bit 5-0 ANSB<5:0>: RB<5:0> Analog Select bit
1 = Digital input buffer disabled
0 = Digital input buffer enabled
REGISTER 10-5: ANSELC – PORTC ANALOG SELECT REGISTER
R/W-1 R/W-1 R/W-1 R/W-1 R/W-1 R/W-1 U-0 U-0
ANSC7 ANSC6 ANSC5 ANSC4 ANSC3 ANSC2 — —
bit 7 bit 0
Legend:
R = Readable bit W = Writable bit U = Unimplemented bit, read as ‘0’
-n = Value at POR ‘1’ = Bit is set ‘0’ = Bit is cleared x = Bit is unknown
bit 7-2 ANSC<7:2>: RC<7:2> Analog Select bit
1 = Digital input buffer disabled
0 = Digital input buffer enabled
bit 1-0 Unimplemented: Read as ‘0’
REGISTER 10-6: ANSELD – PORTD ANALOG SELECT REGISTER
R/W-1 R/W-1 R/W-1 R/W-1 R/W-1 R/W-1 R/W-1 R/W-1
ANSD7 ANSD6 ANSD5 ANSD4 ANSD3 ANSD2 ANSD1 ANSD0
bit 7 bit 0
Legend:
R = Readable bit W = Writable bit U = Unimplemented bit, read as ‘0’
-n = Value at POR ‘1’ = Bit is set ‘0’ = Bit is cleared x = Bit is unknown
bit 7-0 ANSD<7:0>: RD<7:0> Analog Select bit
1 = Digital input buffer disabled
0 = Digital input buffer enabled