Datasheet
PIC16C63A/65B/73B/74B
DS30605D-page 12 1998-2013 Microchip Technology Inc.
TABLE 3-2: PIC16C65B/74B PINOUT DESCRIPTION
Pin Name
DIP
Pin#
PLCC
Pin#
TQFP
MQFP
Pin#
I/O/P
Type
Buffer
Type
Description
OSC1/CLKIN 13 14 30 I ST/CMOS
(4)
Oscillator crystal input/external clock source input.
OSC2/CLKOUT 14 15 31 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 18 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.
RA0/AN0
(5)
2 3 19 I/O TTL RA0 can also be analog input 0
(5)
.
RA1/AN1
(5)
3 4 20 I/O TTL RA1 can also be analog input 1
(5)
.
RA2/AN2
(5)
4 5 21 I/O TTL RA2 can also be analog input 2
(5)
.
RA3/AN3/V
REF
(5)
5 6 22 I/O TTL RA3 can also be analog input 3 or analog reference
voltage
(5)
.
RA4/T0CKI 6 7 23 I/O ST RA4 can also be the clock input to the Timer0 timer/
counter. Output is open drain type.
RA5/SS
/AN4
(5)
7 8 24 I/O TTL RA5 can also be analog input 4
(5)
or the slave select for
the synchronous serial port.
PORTB is a bi-directional I/O port. PORTB can be software
programmed for internal weak pull-up on all inputs.
RB0/INT 33 36 8 I/O TTL/ST
(1)
RB0 can also be the external interrupt pin.
RB1 34 37 9 I/O TTL
RB2 35 38 10 I/O TTL
RB3 36 39 11 I/O TTL
RB4 37 41 14 I/O TTL Interrupt-on-change pin.
RB5 38 42 15 I/O TTL Interrupt-on-change pin.
RB6 39 43 16 I/O TTL/ST
(2)
Interrupt-on-change pin. Serial programming clock.
RB7 40 44 17 I/O TTL/ST
(2)
Interrupt-on-change pin. Serial programming data.
Legend: I = input O = output I/O = input/output P = power
— = Not used TTL = TTL input ST = Schmitt Trigger input
Note 1: This buffer is a Schmitt Trigger input when configured as the external interrupt.
2: This buffer is a Schmitt Trigger input when used in Serial Programming mode.
3: This buffer is a Schmitt Trigger input when configured as general purpose I/O and a TTL input when used in the Parallel
Slave Port mode (for interfacing to a microprocessor bus).
4: This buffer is a Schmitt Trigger input when configured in RC oscillator mode and a CMOS input otherwise.
5: A/D is not available on the PIC16C65B.