English
Language : 

PIC16F882_09 Datasheet, PDF (62/328 Pages) Microchip Technology – 28/40/44-Pin, Enhanced Flash-Based 8-Bit CMOS Microcontrollers with nanoWatt Technology
PIC16F882/883/884/886/887
3.7.1
RE0/AN5(1)
This pin is configurable to function as one of the
following:
• a general purpose I/O
• an analog input for the ADC
Note 1: RE0/AN5 is available on PIC16F884/887
only.
3.7.2
RE1/AN6(1)
This pin is configurable to function as one of the
following:
• a general purpose I/O
• an analog input for the ADC
Note 1: RE1/AN6 is available on PIC16F884/887
only.
3.7.3
RE2/AN7(1)
This pin is configurable to function as one of the
following:
• a general purpose I/O
• an analog input for the ADC
Note 1: RE2/AN7 is available on PIC16F884/887
only.
FIGURE 3-21:
Data Bus
DQ
WR
PORTE
CK Q
WR
TRISE
DQ
CK Q
RD
TRISE
BLOCK DIAGRAM OF
RE<2:0>
VDD
I/O Pin
VSS
Analog(1)
Input Mode
RD
PORTE
To A/D Converter
Note 1: ANSEL determines Analog Input mode.
3.7.4 RE3/MCLR/VPP
Figure 3-22 shows the diagram for this pin. This pin is
configurable to function as one of the following:
• a general purpose input
• as Master Clear Reset with weak pull-up
FIGURE 3-22:
BLOCK DIAGRAM OF RE3
VDD
MCLRE
Weak
Data Bus
RD
TRISE
RD
PORTE
Reset
VSS
MCLRE
Input
Pin
MCLRE
VSS
TABLE 3-5: SUMMARY OF REGISTERS ASSOCIATED WITH PORTE
Name
Bit 7 Bit 6 Bit 5 Bit 4 Bit 3
Bit 2
Bit 1
Bit 0
Value on
POR, BOR
Value on
all other Resets
ANSEL
PORTE
TRISE
Legend:
ANS7 ANS6 ANS5 ANS4 ANS3 ANS2 ANS1 ANS0
1111 1111
1111 1111
—
—
—
—
RE3
RE2
RE1
RE0
---- xxxx
---- uuuu
—
—
—
— TRISE3 TRISE2 TRISE1 TRISE0 ---- 1111
---- 1111
x = unknown, u = unchanged, – = unimplemented locations read as ‘0’. Shaded cells are not used by PORTE
DS41291F-page 60
© 2009 Microchip Technology Inc.