PIC16F818/819
TABLE 1-2:
Pin Name
PIC16F818/819 PINOUT DESCRIPTIONS (CONTINUED)
PDIP/
SSOP QFN
SOIC
Pin# Pin#
Pin#
I/O/P
Type
Buffer
Type
Description
PORTB is a bidirectional I/O port. PORTB can be
software programmed for internal weak pull-up on
all inputs.
RB0/INT
RB0
INT
RB1/SDI/SDA
RB1
SDI
SDA
RB2/SDO/CCP1
RB2
SDO
CCP1
RB3/CCP1/PGM
RB3
CCP1
PGM
RB4/SCK/SCL
RB4
SCK
SCL
RB5/SS
RB5
SS
RB6/T1OSO/T1CKI/PGC
RB6
T1OSO
T1CKI
PGC
RB7/T1OSI/PGD
RB7
T1OSI
PGD
V
SS
V
DD
6
7
7
I/O
I
TTL
ST
(1)
TTL
ST
ST
TTL
ST
ST
TTL
ST
ST
TTL
ST
ST
TTL
TTL
TTL
ST
ST
ST
(2)
Bidirectional I/O pin.
External interrupt pin.
Bidirectional I/O pin.
SPI™ data in.
I
2
C™ data.
Bidirectional I/O pin.
SPI data out.
Capture input, Compare output, PWM output.
Bidirectional I/O pin.
Capture input, Compare output, PWM output.
Low-Voltage ICSP™ Programming enable pin.
Bidirectional I/O pin. Interrupt-on-change pin.
Synchronous serial clock input/output for SPI.
Synchronous serial clock input for I
2
C.
Bidirectional I/O pin. Interrupt-on-change pin.
Slave select for SPI in Slave mode.
Interrupt-on-change pin.
Timer1 Oscillator output.
Timer1 clock input.
In-circuit debugger and ICSP programming
clock pin.
Interrupt-on-change pin.
Timer1 oscillator input.
In-circuit debugger and ICSP programming
data pin.
Ground reference for logic and I/O pins.
Positive supply for logic and I/O pins.
7
8
8
I/O
I
I/O
8
9
9
I/O
O
I/O
9
10
10
I/O
I/O
I
10
11
12
I/O
I/O
I
11
12
13
I/O
I
12
13
15
I/O
O
I
I
13
14
16
I/O
I
I
TTL
ST
ST
(2)
–
–
5
14
5, 6
3, 5
P
P
15, 16 17, 19
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 in RC Oscillator mode and a CMOS input otherwise.
DS39598E-page 8
2004 Microchip Technology Inc.