English
Language : 

PIC18LF2X_13 Datasheet, PDF (152/560 Pages) Microchip Technology – PIC18(L)F2X/45K50 USB Flash MCU Product Brief
PIC18(L)F2X/4XK22
TABLE 10-14: PORTE I/O SUMMARY
Pin
Function
TRIS
Setting
ANSEL
Setting
Pin
Type
Buffer
Type
Description
RE0/P3A/CCP3/AN5 RE0
0
0
O
DIG LATE<0> data output; not affected by analog input.
1
P3A(1)
0
CCP3(1)
0
0
I
ST PORTE<0> data input; disabled when analog input
enabled.
0
O
DIG Enhanced CCP3 PWM output.
0
O
DIG Compare 3 output/PWM 3 output.
1
0
I
ST Capture 3 input.
AN5
1
1
I
AN Analog input 5.
RE1/P3B/AN6
RE1
0
0
O
DIG LATE<1> data output; not affected by analog input.
1
0
I
ST PORTE<1> data input; disabled when analog input
enabled.
P3B
0
0
O
DIG Enhanced CCP3 PWM output.
AN6
1
1
I
AN Analog input 6.
RE2/CCP5/AN7
RE2
0
0
O
DIG LATE<2> data output; not affected by analog input.
1
0
I
ST PORTE<2> data input; disabled when analog input
enabled.
CCP5
0
0
O
DIG Compare 5 output/PWM 5 output.
1
0
I
ST Capture 5 input.
AN7
1
1
I
AN Analog input 7.
RE3/VPP/MCLR
RE3
—
—
I
ST PORTE<3> data input; enabled when Configuration bit
MCLRE = 0.
VPP
—
—
P
AN Programming voltage input; always available
MCLR
—
—
I
ST Active-low Master Clear (device Reset) input; enabled
when configuration bit MCLRE = 1.
Legend:
Note 1:
AN = Analog input or output; TTL = TTL compatible input; HV = High Voltage; OD = Open Drain; XTAL = Crystal; CMOS
= CMOS compatible input or output; ST = Schmitt Trigger input with CMOS levels; I2CTM = Schmitt Trigger input with I2C.
Alternate pin assignment for P3A/CCP3 when Configuration bit CCP3MX is clear.
TABLE 10-15: REGISTERS ASSOCIATED WITH PORTE
Name
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
Reset
Values
on page
ANSELE(1)
—
—
—
—
—
ANSE2 ANSE1 ANSE0 156
INTCON2 RBPU INTEDG0 INTEDG1 INTEDG2
—
TMR0IP
—
RBIP
117
LATE(1)
—
—
—
—
—
LATE2 LATE1 LATE0
157
PORTE
—
—
—
—
RE3
RE2(1)
RE1(1)
RE0(1)
154
SLRCON
—
—
—
SLRE(1) SLRD(1) SLRC
SLRB
SLRA
158
TRISE
WPUE3
—
—
—
—
TRISE2(1) TRISE1(1) TRISE0(1) 156
Legend: — = unimplemented locations, read as ‘0’. Shaded bits are not used for PORTE.
Note 1: Available on PIC18(L)F4XK22 devices.
DS41412F-page 152
 2010-2012 Microchip Technology Inc.