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