Datasheet

PIC18F97J94 FAMILY
DS30575A-page 214 2012 Microchip Technology Inc.
RG3/RP43/
C3INB/AN17/
SEG31/COM7
RG3
0
O DIG LATG<3> data output; not affected by analog input.
1
I ST PORTG<3> data input; disabled when analog input is enabled.
RP43
x
x DIG Reconfigurable Pin 43 for PPS-Lite; TRIS must be set to match
input/output of module.
C3INB
1
I ANA Comparator 3 Input B.
AN17
1
I ANA A/D Input Channel 17. Default input configuration on POR; does not
affect digital output.
SEG31
0
O ANA LCD Segment 31 output; disables all other pin functions.
COM7
x
O ANA LCD Common 7 output; disables all other outputs.
RG4/RTCC/
RP44/C3INC/
AN16/SEG26
RG4
0
O DIG LATG<4> data output; not affected by analog input.
1
I ST PORTG<4> data input; disabled when analog input is enabled.
RTCC
x
O DIG RTCC output.
RP44
x
x DIG Reconfigurable Pin 44 for PPS-Lite; TRIS must be set to match
input/output of module.
C3INC
1
I ANA Comparator 3 Input C.
AN16
1
I ANA A/D Input Channel 16. Default input configuration on POR; does not
affect digital output.
SEG26
0
O ANA LCD Segment 26 output; disables all other pin functions.
RG6 RG6
0
O DIG LATG<6> data output.
1
I ST PORTG<6> data input.
RG7 RG7
0
O DIG LATG<7> data output.
1
I ST PORTG<7> data input.
TABLE 11-7: PORTG FUNCTIONS (CONTINUED)
Pin Name Function
TRIS
Setting
I/O
I/O
Type
Description
Legend: O = Output, I = Input, ANA = Analog Signal, DIG = Digital Output, ST = Schmitt Trigger Buffer Input,
x = Don’t care (TRIS bit does not affect port direction or is overridden for this option).