Microchip Technology AC244045 Data Sheet
PIC16F72X/PIC16LF72X
DS41341E-page 86
© 2009 Microchip Technology Inc.
TABLE 6-5:
SUMMARY OF REGISTERS ASSOCIATED WITH PORTE
REGISTER 6-17:
ANSELE: PORTE ANALOG SELECT REGISTER
U-0
U-0
U-0
U-0
U-0
R/W-1
R/W-1
R/W-1
—
—
—
—
—
ANSE2
(2)
ANSE1
(2)
ANSE0
(2)
bit 7
bit 0
Legend:
R = Readable bit
W = Writable bit
U = Unimplemented bit, read as ‘0’
-n = Value at POR
‘1’ = Bit is set
‘0’ = Bit is cleared
x = Bit is unknown
bit 7-3
Unimplemented: Read as ‘0’
bit 2-0
ANSE<2:0>: Analog Select between Analog or Digital Function on Pins RE<2:0>, respectively
0
= Digital I/O. Pin is assigned to port or Digital special function.
1
= Analog input. Pin is assigned as analog input
(1)
. Digital Input buffer disabled.
Note 1:
When setting a pin to an analog input, the corresponding TRIS bit must be set to Input mode in order to
allow external control of the voltage on the pin.
allow external control of the voltage on the pin.
2:
ANSELE register is not implemented on the PIC16F722/723/726/PIC16LF722/723/726. Read as ‘0’
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
ADCON0
—
—
CHS3
CHS2
CHS1
CHS0
GO/DONE
ADON
--00 0000
--00 0000
ANSELE
—
—
—
—
—
ANSE2
ANSE1
ANSE0
---- -111
---- -111
PORTE
—
—
—
—
RE3
RE2
RE1
RE0
---- xxxx
---- xxxx
TRISE
—
—
—
—
TRISE3
(2)
TRISE2
(1)
TRISE1
(1)
TRISE0
(1)
---- 1111
---- 1111
Legend:
x
= unknown, u = unchanged, – = unimplemented locations read as ‘0’. Shaded cells are not used by PORTE
Note
1:
These registers are not implemented on the PIC16F722/723/726/PIC16LF722/723/726 devices, read as ‘0’.
2:
This bit is always ‘1’ as RE3 is input only.