Datasheet
PIC18F6520/8520/6620/8620/6720/8720
DS39609C-page 14 2003-2013 Microchip Technology Inc.
PORTC is a bidirectional I/O port.
RC0/T1OSO/T13CKI
RC0
T1OSO
T13CKI
30 36
I/O
O
I
ST
—
ST
Digital I/O.
Timer1 oscillator output.
Timer1/Timer3 external clock input.
RC1/T1OSI/CCP2
RC1
T1OSI
CCP2
(2)
29 35
I/O
I
I/O
ST
CMOS
ST
Digital I/O.
Timer1 oscillator input.
Capture2 input/Compare2 output/
PWM2 output.
RC2/CCP1
RC2
CCP1
33 43
I/O
I/O
ST
ST
Digital I/O.
Capture1 input/Compare1 output/
PWM1 output.
RC3/SCK/SCL
RC3
SCK
SCL
34 44
I/O
I/O
I/O
ST
ST
ST
Digital I/O.
Synchronous serial clock input/output
for SPI mode.
Synchronous serial clock input/output
for I
2
C mode.
RC4/SDI/SDA
RC4
SDI
SDA
35 45
I/O
I
I/O
ST
ST
ST
Digital I/O.
SPI data in.
I
2
C data I/O.
RC5/SDO
RC5
SDO
36 46
I/O
O
ST
—
Digital I/O.
SPI data out.
RC6/TX1/CK1
RC6
TX1
CK1
31 37
I/O
O
I/O
ST
—
ST
Digital I/O.
USART 1 asynchronous transmit.
USART 1 synchronous clock
(see RX1/DT1).
RC7/RX1/DT1
RC7
RX1
DT1
32 38
I/O
I
I/O
ST
ST
ST
Digital I/O.
USART 1 asynchronous receive.
USART 1 synchronous data
(see TX1/CK1).
TABLE 1-2: PIC18FXX20 PINOUT I/O DESCRIPTIONS (CONTINUED)
Pin Name
Pin Number
Pin
Type
Buffer
Type
Description
PIC18F6X20 PIC18F8X20
Legend: TTL = TTL compatible input CMOS = CMOS compatible input or output
ST = Schmitt Trigger input with CMOS levels Analog = Analog input
I = Input O = Output
P = Power OD = Open-Drain (no P diode to V
DD)
Note 1: Alternate assignment for CCP2 when CCP2MX is not selected (all operating modes except
Microcontroller).
2: Default assignment when CCP2MX is set.
3: External memory interface functions are only available on PIC18F8X20 devices.
4: CCP2 is multiplexed with this pin by default when configured in Microcontroller mode. Otherwise, it is
multiplexed with either RB3 or RC1.
5: PORTH and PORTJ are only available on PIC18F8X20 (80-pin) devices.
6: AV
DD must be connected to a positive supply and AVSS must be connected to a ground reference for
proper operation of the part in user or ICSP modes. See parameter D001A for details.