|
PIC18F2331_07 Datasheet, PDF (135/400 Pages) Microchip Technology – 28/40/44-Pin Enhanced Flash Microcontrollers with nanoWatt Technology, High Performance PWM and A/D | |||
|
◁ |
PIC18F2331/2431/4331/4431
REGISTER 10-1: TRISE REGISTER
U-0
U-0
U-0
U-0
â
â
â
â
bit 7
U-0
R/W-1
R/W-1
R/W-1
â
TRISE2
TRISE1
TRISE0
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-3
bit 2
bit 1
bit 0
Unimplemented: Read as â0â
TRISE2: RE2 Direction Control bit
1 = Input
0 = Output
TRISE1: RE1 Direction Control bit
1 = Input
0 = Output
TRISE0: RE0 Direction Control bit
1 = Input
0 = Output
TABLE 10-9: PORTE FUNCTIONS
Name
Bit # Buffer Type
RE0/AN6
bit 0
ST
RE1/AN7
bit 1
ST
RE2/AN8
bit 2
ST
MCLR/VPP/RE3 bit 3
ST
Legend: ST = Schmitt Trigger input
Function
Input/output port pin or analog input.
Input/output port pin or analog input.
Input/output port pin or analog input.
Input only port pin or programming voltage input (if MCLR is disabled);
Master Clear input or programming voltage input (if MCLR is enabled).
TABLE 10-10: SUMMARY OF REGISTERS ASSOCIATED WITH PORTE
Name
PORTE
LATE
TRISE
ANSEL0
ANSEL1
Legend:
Note 1:
2:
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
Value on
POR, BOR
â
â
â
â
RE3(1)
RE2
RE1
RE0 ---- q000
â
â
â
â
â LATE Data Output Register
---- -xxx
â
ANS7(2)
â
â
ANS6(2)
â
â
ANS5(2)
â
â
ANS4
â
â
ANS3
â
PORTE Data Direction Register
ANS2
â
ANS1
â
ANS0
ANS8(2)
---- -111
1111 1111
---- ---1
x = unknown, u = unchanged, - = unimplemented, read as â0â, q = value depends on condition.
Shaded cells are not used by PORTE.
Implemented only when Master Clear functionality is disabled (CONFIG3H<7> = 0).
ANS5 through ANS8 are available only on PIC18F4331/4431 devices.
Value on
all other
Resets
---- q000
---- -uuu
---- -111
1111 1111
---- ---1
© 2007 Microchip Technology Inc.
Preliminary
DS39616C-page 133
|
▷ |