Datasheet
2011-2013 Microchip Technology Inc. DS30001037C-page 113
PIC24F16KL402 FAMILY
REGISTER 11-1: ANSA: PORTA ANALOG SELECTION REGISTER
U-0 U-0 U-0 U-0 U-0 U-0 U-0 U-0
— — — — — — — —
bit 15 bit 8
U-0 U-0 U-0 U-0 R/W-1 R/W-1 R/W-1 R/W-1
— — — — ANSA3 ANSA2 ANSA1 ANSA0
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 15-4 Unimplemented: Read as ‘0’
bit 3-0 ANSA<3:0>: Analog Select Control bits
1 = Digital input buffer is not active (use for analog input)
0 = Digital input buffer is active
REGISTER 11-2: ANSB: PORTB ANALOG SELECTION REGISTER
R/W-1 R/W-1 R/W-1 R/W-1 U-0 U-0 U-0 U-0
ANSB15 ANSB14 ANSB13
(1)
ANSB12
(1)
— — — —
bit 15 bit 8
U-0 U-0 U-0 R/W-1 R/W-1 R/W-1 R/W-1 R/W-1
— — — ANSB4 ANSB3
(2)
ANSB2
(1)
ANSB1
(1)
ANSB0
(1)
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 15-12 ANSB<15:12>: Analog Select Control bits
(1)
1 = Digital input buffer is not active (use for analog input)
0 = Digital input buffer is active
bit 11-5 Unimplemented: Read as ‘0’
bit 4-0 ANSB<4:0>: Analog Select Control bits
(2)
1 = Digital input buffer is not active (use for analog input)
0 = Digital input buffer is active
Note 1: ANSB<13:12,2:0> are unimplemented on 14-pin devices.
2: ANSB<3> is unimplemented on 14-pin and 20-pin devices.