|
PIC16F722AT-ISS Datasheet, PDF (74/286 Pages) Microchip Technology – 28-Pin Flash Microcontrollers with nanoWatt XLP Technology | |||
|
◁ |
PIC16(L)F722A/723A
6.5 PORTE and TRISE Registers
PORTE(1) is an 1-bit wide, input only port. RE3 is input
only and its TRIS bit will always read as â1â.
Reading the PORTE register (Register 6-12) reads the
status of the pins. RE3 reads â0â when MCLRE = 1.
REGISTER 6-12: PORTE: PORTE REGISTER
U-0
â
bit 7
U-0
U-0
U-0
R-x
U-0
â
â
â
RE3
â
U-0
U-0
â
â
bit 0
Legend:
R = Readable bit
-n = Value at POR
W = Writable bit
â1â = Bit is set
U = Unimplemented bit, read as â0â
â0â = Bit is cleared
x = Bit is unknown
bit 7-4
bit 3
bit 2-0
Unimplemented: Read as â0â
RE3: PORTE I/O Pin bits(1)
1 = Port pin is > VIH
0 = Port pin is < VIL
Unimplemented: Read as â0â
REGISTER 6-13: TRISE: PORTE TRI-STATE REGISTER
U-0
â
bit 7
U-0
U-0
U-0
R-1
U-0
â
â
â
TRISE3
â
U-0
U-0
â
â
bit 0
Legend:
R = Readable bit
-n = Value at POR
W = Writable bit
â1â = Bit is set
U = Unimplemented bit, read as â0â
â0â = Bit is cleared
x = Bit is unknown
bit 7-4
bit 3
bit 2-0
Unimplemented: Read as â0â
TRISE3: RE3 Port Tri-state Control bit
This bit is always â1â as RE3 is an input only
Unimplemented: Read as â0â
TABLE 6-5: SUMMARY OF REGISTERS ASSOCIATED WITH PORTE
Name Bit 7 Bit 6 Bit 5 Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
Register on
Page
PORTE
â
â
â
â
RE3
â
â
â
74
TRISE
â
â
â
â
TRISE3(1)
â
â
â
74
Legend: x = unknown, u = unchanged, â = unimplemented locations read as â0â. Shaded cells are not used by
PORTE
Note 1: This bit is always â1â as RE3 is input only.
DS41417B-page 74
ï£ 2010-2012 Microchip Technology Inc.
|
▷ |