English
Language : 

PIC16F1938 Datasheet, PDF (145/452 Pages) Microchip Technology – 28/40/44-Pin Flash-Based, 8-Bit CMOS Microcontrollers
PIC16(L)F1938/9
REGISTER 12-20: LATE: PORTE DATA LATCH REGISTER
U-0
—
bit 7
U-0
U-0
U-0
U-0
—
—
—
—
R/W-x/u
LATE2(2)
R/W-x/u
LATE1(2)
R/W-x/u
LATE0(2)
bit 0
Legend:
R = Readable bit
u = Bit is unchanged
‘1’ = Bit is set
W = Writable bit
x = Bit is unknown
‘0’ = Bit is cleared
U = Unimplemented bit, read as ‘0’
-n/n = Value at POR and BOR/Value at all other Resets
bit 7-4
bit 3-0
Unimplemented: Read as ‘0’
LATE<3:0>: PORTE Output Latch Value bits(1)
Note 1: Writes to PORTE are actually written to corresponding LATE register. Reads from PORTE register is
return of actual I/O pin values.
2: LATE register is not implemented on the PIC16(L)F1938. Read as ‘0’
REGISTER 12-21: ANSELE: PORTE ANALOG SELECT REGISTER
U-0
—
bit 7
U-0
U-0
U-0
U-0
R/W-1
—
—
—
—
ANSE2(2)
R/W-1
ANSE1(2)
R/W-1
ANSE0(2)
bit 0
Legend:
R = Readable bit
u = bit is unchanged
‘1’ = Bit is set
W = Writable bit
x = Bit is unknown
‘0’ = Bit is cleared
U = Unimplemented bit, read as ‘0’
-n/n = Value at POR and BOR/Value at all other Resets
bit 7-3
bit 2-0
Unimplemented: Read as ‘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.
2: ANSELE register is not implemented on the PIC16(L)F1938. Read as ‘0’
 2011 Microchip Technology Inc.
Preliminary
DS41574A-page 145