PIC18F2220/2320/4220/4320
TABLE 1-3:
Pin Name
PIC18F4220/4320 PINOUT I/O DESCRIPTIONS (CONTINUED)
Pin Number
Pin Buffer
Description
Type Type
PDIP TQFP QFN
PORTC is a bidirectional I/O port.
RC0/T1OSO/T1CKI
RC0
15
16
17
18
23
32
35
36
37
42
34
35
36
37
42
I/O
O
I
ST
—
ST
Digital I/O.
Timer1 oscillator output.
Timer1/Timer3 external clock input.
T1OSO
T1CKI
RC1/T1OSI/CCP2
RC1
I/O
I
I/O
ST
CMOS
ST
Digital I/O.
Timer1 oscillator input.
Capture2 input, Compare2 output, PWM2 output.
T1OSI
CCP2(2)
RC2/CCP1/P1A
RC2
I/O
I/O
O
ST
ST
—
Digital I/O.
CCP1
P1A
Capture1 input/Compare1 output/PWM1 output.
Enhanced CCP1 output.
RC3/SCK/SCL
RC3
I/O
I/O
I/O
ST
ST
ST
Digital I/O.
SCK
SCL
Synchronous serial clock input/output for SPI mode.
Synchronous serial clock input/output for I2C mode.
RC4/SDI/SDA
RC4
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
USART asynchronous transmit.
USART 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
USART asynchronous receive.
USART synchronous data (see related TX/CK).
Legend: TTL = TTL compatible input
ST = Schmitt Trigger input with CMOS levels
= Output
OD = Open-drain (no diode to VDD)
CMOS = CMOS compatible input or output
I
= Input
O
P
= Power
Note 1: Default assignment for CCP2 when CCP2MX (CONFIG3H<0>) is set.
2: Alternate assignment for CCP2 when CCP2MX is cleared.
DS39599C-page 16
2003 Microchip Technology Inc.