Datasheet
PIC18F97J94 FAMILY
DS30575A-page 208 2012 Microchip Technology Inc.
RD3/PSP3/
RP23/SEG3/AD3
RD3 0 O DIG LATD<3> data output.
1 I ST PORTD<3> data input.
PSP3 x I/O ST/DIG Parallel Slave Port Data Bus Bit 3.
RP23 x x DIG Reconfigurable Pin 23 for PPS-Lite; TRIS must be set to match
input/output of module.
SEG3 0 O ANA LCD Segment 3 output; disables all other pin functions.
AD3 x I/O ST/DIG External Memory Bus Address Line 3.
RD4/PSP4/
RP24/SEG4/AD4
RD4 0 O DIG LATD<4> data output.
1 I ST PORTD<4> data input.
PSP4 x I/O ST/DIG Parallel Slave Port Data Bus Bit 4.
RP24 xxDIG Reconfigurable Pin 24 for PPS-Lite; TRIS must be set to match
input/output of module.
SEG4 0 O ANA LCD Segment 4 output; disables all other pin functions.
AD4 x I/O ST/DIG External Memory Bus Address Line 4.
RD5/PSP5/
RP25/SDA2/
SEG5/AD5
RD5 0 O DIG LATD<5> data output.
1 I ST PORTD<5> data input.
PSP5 x I/O ST/DIG Parallel Slave Port Data Bus Bit 5.
RP25 x x DIG Reconfigurable Pin 25 for PPS-Lite; TRIS must be set to match
input/output of module.
SDA2 x I/O ST/DIG I
2
C mode data I/O.
SEG5 0 O ANA LCD Segment 5 output; disables all other pin functions.
AD5 x I/O ST/DIG External Memory Bus Address Line 5.
RD6/PSP6/
RP26/SCL2/
SEG6/AD6
RD6 0 O DIG LATD<6> data output.
1 I ST PORTD<6> data input.
PSP6 x I/O ST/DIG Parallel Slave Port Data Bus Bit 6.
RP26 x x DIG Reconfigurable Pin 26 for PPS-Lite; TRIS must be set to match
input/output of module.
SCL2 x I/O I2C Synchronous serial clock input/output for I
2
C™ mode.
SEG6 0 O ANA LCD Segment 6 output; disables all other pin functions.
AD6 x I/O ST/DIG External Memory Bus Address Line 6.
RD7/PSP7/
RP27/REFO2/
SEG7/AD7
RD7 0 O DIG LATD<7> data output.
1 I ST PORTD<7> data input.
PSP7 x I/O ST/DIG Parallel Slave Port Data Bus Bit 7.
RP27 x x DIG Reconfigurable Pin 27 for PPS-Lite; TRIS must be set to match
input/output of module.
REFO2 0 O DIG Reference Clock 2 output.
SEG7 0 O ANA LCD Segment 7 output; disables all other pin functions.
AD7 x I/O ST/DIG External Memory Bus Address Line 7.
TABLE 11-4: PORTD 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,
I2C = I
2
C™/SMBus, x = Don’t care (TRIS bit does not affect port direction or is overridden for this option).