PIC16F87XA
TABLE 1-2:
Pin Name
PIC16F873A/876A PINOUT DESCRIPTION (CONTINUED)
Pin#
I/O/P
Type
Buffer
Type
Description
PORTB is a bi-directional I/O port. PORTB can be software
programmed for internal weak pull-up on all inputs.
RB0/INT
RB0
INT
RB1
RB2
RB3/PGM
RB3
PGM
RB4
RB5
RB6/PGC
RB6
PGC
RB7/PGD
RB7
PGD
RC0/T1OSO/T1CKI
RC0
T1OSO
T1CKI
RC1/T1OSI/CCP2
RC1
T1OSI
CCP2
RC2/CCP1
RC2
CCP1
RC3/SCK/SCL
RC3
SCK
SCL
RC4/SDI/SDA
RC4
SDI
SDA
RC5/SDO
RC5
SDO
RC6/TX/CK
RC6
TX
CK
RC7/RX/DT
RC7
RX
DT
V
SS
V
DD
Legend:
21
I/O
I
22
23
24
I/O
I/O
25
26
27
I/O
I/O
28
I/O
I/O
11
I/O
O
I
12
I/O
I
I/O
13
I/O
I/O
14
I/O
I/O
I/O
15
I/O
I
I/O
16
I/O
O
17
I/O
O
I/O
18
I/O
I
I/O
8, 19
20
P
P
I/O
I/O
I/O
I/O
TTL/ST
(1)
Digital I/O.
External interrupt.
TTL
TTL
TTL
Digital I/O.
Low voltage ICSP programming enable pin.
TTL
TTL
TTL/ST
(2)
Digital I/O.
Digital I/O.
Digital I/O.
Digital I/O.
Digital I/O.
In-Circuit Debugger and ICSP programming clock.
TTL/ST
(2)
Digital I/O.
In-Circuit Debugger and ICSP programming data.
PORTC is a bi-directional I/O port.
ST
Digital I/O.
Timer1 oscillator output.
Timer1 external clock input.
ST
Digital I/O.
Timer1 oscillator input.
Capture2 input, Compare2 output, PWM2 output.
ST
Digital I/O.
Capture1 input/Compare1 output/PWM1 output.
ST
Digital I/O.
Synchronous serial clock input/output for SPI mode.
Synchronous serial clock input/output for I
2
C mode.
ST
Digital I/O.
SPI data in.
I
2
C data I/O.
ST
Digital I/O.
SPI data out.
ST
Digital I/O.
USART asynchronous transmit.
USART 1 synchronous clock.
ST
Digital I/O.
USART asynchronous receive.
USART synchronous data.
—
—
Ground reference for logic and I/O pins.
Positive supply for logic and I/O pins.
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.
2001 Microchip Technology Inc.
Advance Information
DS39582A-page 9