Datasheet
2010-2011 Microchip Technology Inc. DS39996F-page 171
PIC24FJ128GA310 FAMILY
REGISTER 11-5: ANSE: PORTE ANALOG FUNCTION SELECTION REGISTER
(1)
U-0 U-0 U-0 U-0 U-0 U-0 R/W-1 U-0
— — — — — — ANSE9
(2)
—
bit 15 bit 8
R/W-1 R/W-1 R/W-1 R/W-1 U-0 U-0 U-0 U-0
ANSE7 ANSE6 ANSE5 ANSE4
— — — —
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-10 Unimplemented: Read as ‘0’
bit 9 ANSE9: Analog Function Selection bits
(2)
1 = Pin is configured in Analog mode; I/O port read is disabled
0 = Pin is configured in Digital mode; I/O port read is enabled
bit 8 Unimplemented: Read as ‘0’
bit 7-4 ANSE<7:4>: Analog Function Selection bits
(1)
1 = Pin is configured in Analog mode; I/O port read is disabled
0 = Pin is configured in Digital mode; I/O port read is enabled
bit 3-0 Unimplemented: Read as ‘0’
Note 1: This register is not available in 64-pin and 80-pin devices.
2: This bit is unimplemented on 64-pin devices. In 80-pin devices, this bit needs to be cleared to get digital
functionality on RE9.
REGISTER 11-6: ANSG: PORTG ANALOG FUNCTION SELECTION REGISTER
U-0 U-0 U-0 U-0 U-0 U-0 R/W-1 R/W-1
— — — — — — ANSG9 ANSG8
bit 15 bit 8
R/W-1 R/W-1 U-0 U-0 U-0 U-0 U-0 U-0
ANSG7 ANSG6
— — — — — —
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-10 Unimplemented: Read as ‘0’
bit 9-6 ANSG<9:6>: Analog Function Selection bits
1 = Pin is configured in Analog mode; I/O port read is disabled
0 = Pin is configured in Digital mode; I/O port read is enabled
bit 5-0 Unimplemented: Read as ‘0’