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
PORTC is a bidirectional I/O port.
RC0/T1OSO/T13CKI
RC0
15
16
17
18
34
35
36
37
32
35
36
37
I/O
O
I
ST
—
ST
Digital I/O.
Timer1 oscillator output.
Timer1/Timer3 external clock input.
T1OSO
T13CKI
RC1/T1OSI/CCP2
RC1
I/O
I
I/O
ST
CMOS
ST
Digital I/O.
Timer1 oscillator input.
Capture 2 input/Compare 2 output/PWM2 output.
T1OSI
CCP2(2)
RC2/CCP1/P1A
RC2
I/O
I/O
O
ST
ST
—
Digital I/O.
CCP1
P1A
Capture 1 input/Compare 1 output/PWM1 output.
Enhanced CCP1 output.
RC3/SCK/SCL
RC3
I/O
I/O
ST
ST
Digital I/O.
SCK
Synchronous serial clock input/output for
SPI mode.
SCL
I/O
ST
Synchronous serial clock input/output for I2C™ mode.
RC4/SDI/SDA
RC4
23
42
42
I/O
I
I/O
ST
ST
ST
Digital I/O.
SPI data in.
I2C data I/O.
SDI
SDA
RC5/SDO
RC5
24
25
43
44
43
44
I/O
O
ST
—
Digital I/O.
SPI data out.
SDO
RC6/TX/CK
RC6
I/O
O
I/O
ST
—
ST
Digital I/O.
TX
CK
EUSART asynchronous transmit.
EUSART synchronous clock (see related RX/DT).
RC7/RX/DT
RC7
26
1
1
I/O
I
I/O
ST
ST
ST
Digital I/O.
RX
DT
EUSART asynchronous receive.
EUSART synchronous data (see related TX/CK).
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.
© 2008 Microchip Technology Inc.
DS39631E-page 19