Datasheet
2001-2013 Microchip Technology Inc. DS39582C-page 13
PIC16F87XA
PORTD is a bidirectional I/O port or Parallel Slave
Port when interfacing to a microprocessor bus.
RD0/PSP0
RD0
PSP0
19 21 38 38
I/O
I/O
ST/TTL
(3)
Digital I/O.
Parallel Slave Port data.
RD1/PSP1
RD1
PSP1
20 22 39 39
I/O
I/O
ST/TTL
(3)
Digital I/O.
Parallel Slave Port data.
RD2/PSP2
RD2
PSP2
21 23 40 40
I/O
I/O
ST/TTL
(3)
Digital I/O.
Parallel Slave Port data.
RD3/PSP3
RD3
PSP3
22 24 41 41
I/O
I/O
ST/TTL
(3)
Digital I/O.
Parallel Slave Port data.
RD4/PSP4
RD4
PSP4
27 30 2 2
I/O
I/O
ST/TTL
(3)
Digital I/O.
Parallel Slave Port data.
RD5/PSP5
RD5
PSP5
28 31 3 3
I/O
I/O
ST/TTL
(3)
Digital I/O.
Parallel Slave Port data.
RD6/PSP6
RD6
PSP6
29 32 4 4
I/O
I/O
ST/TTL
(3)
Digital I/O.
Parallel Slave Port data.
RD7/PSP7
RD7
PSP7
30 33 5 5
I/O
I/O
ST/TTL
(3)
Digital I/O.
Parallel Slave Port data.
PORTE is a bidirectional I/O port.
RE0/RD
/AN5
RE0
RD
AN5
8 9 25 25
I/O
I
I
ST/TTL
(3)
Digital I/O.
Read control for Parallel Slave Port.
Analog input 5.
RE1/WR
/AN6
RE1
WR
AN6
9102626
I/O
I
I
ST/TTL
(3)
Digital I/O.
Write control for Parallel Slave Port.
Analog input 6.
RE2/CS
/AN7
RE2
CS
AN7
10 11 27 27
I/O
I
I
ST/TTL
(3)
Digital I/O.
Chip select control for Parallel Slave Port.
Analog input 7.
V
SS 12, 31 13, 34 6, 29 6, 30,
31
P — Ground reference for logic and I/O pins.
V
DD 11, 32 12, 35 7, 28 7, 8,
28, 29
P — Positive supply for logic and I/O pins.
NC — 1, 17,
28, 40
12,13,
33, 34
13 — — These pins are not internally connected. These pins
should be left unconnected.
TABLE 1-3: PIC16F874A/877A PINOUT DESCRIPTION (CONTINUED)
Pin Name
PDIP
Pin#
PLCC
Pin#
TQFP
Pin#
QFN
Pin#
I/O/P
Type
Buffer
Type
Description
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.