
2010 Microchip Technology Inc.
DS41303G-page 19
PIC18F2XK20/4XK20
PORTC is a bidirectional I/O port.
RC0/T1OSO/T13CKI
RC0
T1OSO
T13CKI
11
8
I/O
O
I
ST
—
ST
Digital I/O
Timer1 oscillator output
Timer1/Timer3 external clock input
RC1/T1OSI/CCP2
RC1
T1OSI
12
9
I/O
I
I/O
ST
Analog
ST
Digital I/O
Timer1 oscillator input
Capture 2 input/Compare 2 output/PWM 2 output
RC2/CCP1/P1A
RC2
CCP1
P1A
13
10
I/O
O
ST
CMOS
Digital I/O
Capture 1 input/Compare 1 output
Enhanced CCP1 PWM output
RC3/SCK/SCL
RC3
SCK
SCL
14
11
I/O
ST
Digital I/O
Synchronous serial clock input/output for SPI mode
Synchronous serial clock input/output for I2C mode
RC4/SDI/SDA
RC4
SDI
SDA
15
12
I/O
I
I/O
ST
Digital I/O
SPI data in
I2C data I/O
RC5/SDO
RC5
SDO
16
13
I/O
O
ST
—
Digital I/O
SPI data out
RC6/TX/CK
RC6
TX
CK
17
14
I/O
O
I/O
ST
—
ST
Digital I/O
EUSART asynchronous transmit
EUSART synchronous clock (see related RX/DT)
RC7/RX/DT
RC7
RX
DT
18
15
I/O
I
I/O
ST
Digital I/O
EUSART asynchronous receive
EUSART synchronous data (see related TX/CK)
RE3
—
See MCLR/VPP/RE3 pin
VSS
8, 19
5, 16
P
—
Ground reference for logic and I/O pins
VDD
20
17
P
—
Positive supply for logic and I/O pins
TABLE 1-2:
PIC18F2XK20 PINOUT I/O DESCRIPTIONS (CONTINUED)
Pin Name
Pin Number
Pin
Type
Buffer
Type
Description
PDIP,
SOIC
QFN
Legend: TTL = TTL compatible input
CMOS = CMOS compatible input or output
ST = Schmitt Trigger input with CMOS levels
I
= Input
O
= Output
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.