PIC18F2220/2320/4220/4320
TABLE 1-2:
PIC18F2220/2320 PINOUT I/O DESCRIPTIONS (CONTINUED)
Pin Number
PDIP SOIC
Pin Buffer
Type Type
Pin Name
Description
PORTC is a bidirectional I/O port.
RC0/T1OSO/T1CKI
RC0
11
12
13
14
15
11
12
13
14
15
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
16
17
16
17
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
18
18
I/O
I
I/O
ST
ST
ST
Digital I/O.
RX
DT
USART asynchronous receive.
USART synchronous data (see related TX/CK).
RE3
VSS
VDD
—
—
—
P
—
—
—
See MCLR/VPP/RE3 pin.
8, 19 8, 19
20 20
Ground reference for logic and I/O pins.
Positive supply for logic and I/O pins.
CMOS = CMOS compatible input or output
P
Legend: TTL = TTL compatible input
ST = Schmitt Trigger input with CMOS levels
= Output
OD = Open-drain (no diode to VDD)
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.
2003 Microchip Technology Inc.
DS39599C-page 13