PIC18F2420/2520/4420/4520
TABLE 1-3:
Pin Name
PIC18F4420/4520 PINOUT I/O DESCRIPTIONS (CONTINUED)
Pin Number
Pin Buffer
Type Type
Description
PDIP QFN TQFP
PORTD is a bidirectional I/O port or a Parallel Slave
Port (PSP) for interfacing to a microprocessor port.
These pins have TTL input buffers when PSP module
is enabled.
RD0/PSP0
RD0
19
20
21
22
27
28
38
39
40
41
2
38
39
40
41
2
I/O
I/O
ST
TTL
Digital I/O.
Parallel Slave Port data.
PSP0
RD1/PSP1
RD1
I/O
I/O
ST
TTL
Digital I/O.
Parallel Slave Port data.
PSP1
RD2/PSP2
RD2
I/O
I/O
ST
TTL
Digital I/O.
Parallel Slave Port data.
PSP2
RD3/PSP3
RD3
I/O
I/O
ST
TTL
Digital I/O.
Parallel Slave Port data.
PSP3
RD4/PSP4
RD4
I/O
I/O
ST
TTL
Digital I/O.
Parallel Slave Port data.
PSP4
RD5/PSP5/P1B
RD5
3
3
I/O
I/O
O
ST
TTL
—
Digital I/O.
Parallel Slave Port data.
Enhanced CCP1 output.
PSP5
P1B
RD6/PSP6/P1C
RD6
29
30
4
5
4
5
I/O
I/O
O
ST
TTL
—
Digital I/O.
Parallel Slave Port data.
Enhanced CCP1 output.
PSP6
P1C
RD7/PSP7/P1D
RD7
I/O
I/O
O
ST
TTL
—
Digital I/O.
Parallel Slave Port data.
Enhanced CCP1 output.
PSP7
P1D
Legend: TTL = TTL compatible input
ST = Schmitt Trigger input with CMOS levels
= Output
CMOS = CMOS compatible input or output
I
= Input
O
P
= Power
Note 1: Default assignment for CCP2 when Configuration bit, CCP2MX, is set.
2: Alternate assignment for CCP2 when Configuration bit, CCP2MX, is cleared.
DS39631E-page 20
© 2008 Microchip Technology Inc.