
2009 Microchip Technology Inc.
DS39689F-page 23
PIC18F2221/2321/4221/4321 FAMILY
PORTE is a bidirectional I/O port.
RE0/RD/AN5
RE0
RD
AN5
825
25
I/O
I
ST
TTL
Analog
Digital I/O.
Read control for Parallel Slave Port
(see also WR and CS pins).
Analog Input 5.
RE1/WR/AN6
RE1
WR
AN6
926
26
I/O
I
ST
TTL
Analog
Digital I/O.
Write control for Parallel Slave Port
(see CS and RD pins).
Analog Input 6.
RE2/CS/AN7
RE2
CS
AN7
10
27
I/O
I
ST
TTL
Analog
Digital I/O.
Chip Select control for Parallel Slave Port
(see related RD and WR).
Analog Input 7.
RE3
—
See MCLR/VPP/RE3 pin.
VSS
12, 31 6, 30,
31
6, 29
P
—
Ground reference for logic and I/O pins.
VDD
11, 32 7, 8,
28, 29
7, 28
P
—
Positive supply for logic and I/O pins.
NC
—
13
12,13,
33, 34
—
No Connect.
TABLE 1-3:
PIC18F4221/4321 PINOUT I/O DESCRIPTIONS (CONTINUED)
Pin Name
Pin Number
Pin
Type
Buffer
Type
Description
PDIP
QFN TQFP
Legend: TTL = TTL compatible input
CMOS = CMOS compatible input or output
ST = Schmitt Trigger input with CMOS levels
I
= Input
P = Power
I2C = ST with I2C or SMB levels
O
= Output
Note 1: Default assignment for CCP2 when Configuration bit, CCP2MX, is set.
2: Alternate assignment for CCP2 when Configuration bit, CCP2MX, is cleared.