
PIC16C9XX
DS30444E - page 12
1997 Microchip Technology Inc.
TABLE 3-1: PIC16C9XX PINOUT DESCRIPTION
Pin Name
DIP
Pin#
PLCC
Pin#
TQFP
Pin#
Pin
Type
Buffer
Type
Description
OSC1/CLKIN
22
24
14
I
ST/CMOS
Oscillator crystal input or external clock source input. This
buffer is a Schmitt Trigger input when congured in RC
oscillator mode and a CMOS input otherwise.
OSC2/CLKOUT
23
25
15
O
—
Oscillator crystal output. Connects to crystal or resonator
in crystal oscillator mode. In RC mode, OSC2 pin outputs
CLKOUT which has 1/4 the frequency of OSC1, and
denotes the instruction cycle rate.
MCLR/VPP
1
2
57
I/P
ST
Master clear (reset) input or programming voltage input.
This pin is an active low reset to the device.
PORTA is a bi-directional I/O port. The AN and VREF multi-
plexed functions are used by the PIC16C924 only.
RA0/AN0
4
5
60
I/O
TTL
RA0 can also be Analog input0.
RA1/AN1
5
6
61
I/O
TTL
RA1 can also be Analog input1.
RA2/AN2
7
8
63
I/O
TTL
RA2 can also be Analog input2.
RA3/AN3/VREF
8
9
64
I/O
TTL
RA3 can also be Analog input3 or A/D Voltage Refer-
ence.
RA4/T0CKI
9
10
1
I/O
ST
RA4 can also be the clock input to the Timer0
timer/counter. Output is open drain type.
RA5/AN4/SS
10
11
2
I/O
TTL
RA5 can be the slave select for the synchronous serial
port or Analog input4.
PORTB is a bi-directional I/O port. PORTB can be software
programmed for internal weak pull-ups on all inputs.
RB0/INT
12
13
4
I/O
TTL/ST
RB0 can also be the external interrupt pin. This buffer
is a Schmitt Trigger input when congured as an exter-
nal interrupt.
RB1
11
12
3
I/O
TTL
RB2
3
4
59
I/O
TTL
RB3
2
3
58
I/O
TTL
RB4
64
68
56
I/O
TTL
Interrupt on change pin.
RB5
63
67
55
I/O
TTL
Interrupt on change pin.
RB6
61
65
53
I/O
TTL/ST
Interrupt on change pin. Serial programming clock.
This buffer is a Schmitt Trigger input when used in
serial programming mode.
RB7
62
66
54
I/O
TTL/ST
Interrupt on change pin. Serial programming data.
This buffer is a Schmitt Trigger input when used in
serial programming mode.
PORTC is a bi-directional I/O port.
RC0/T1OSO/T1CKI
24
26
16
I/O
ST
RC0 can also be the Timer1 oscillator output or
Timer1 clock input.
RC1/T1OSI
25
27
17
I/O
ST
RC1 can also be the Timer1 oscillator input.
RC2/CCP1
26
28
18
I/O
ST
RC2 can also be the Capture1 input/Compare1 out-
put/PWM1 output.
RC3/SCK/SCL
13
14
5
I/O
ST
RC3 can also be the synchronous serial clock
input/output for both SPI and I2C modes.
RC4/SDI/SDA
14
15
6
I/O
ST
RC4 can also be the SPI Data In (SPI mode) or data
I/O (I2C mode).
RC5/SDO
15
16
7
I/O
ST
RC5 can also be the SPI Data Out (SPI mode).
C1
16
17
8
P
LCD Voltage Generation.
C2
17
18
9
P
LCD Voltage Generation.
Legend: I = input
O = output
P = power
L = LCD Driver
— = Not used
TTL = TTL input
ST = Schmitt Trigger input