Техническая Спецификация для Microchip Technology MA160014

Скачать
Страница из 560
PIC18(L)F2X/4XK22
DS41412F-page 154
 2010-2012 Microchip Technology Inc.
REGISTER 10-2:
PORTE: PORTE REGISTER
U-0
U-0
U-0
U-0
R/W-u/x
R/W-u/x
R/W-u/x
R/W-u/x
RE3
(1)
RE2
(2), (3)
RE1
(2), (3)
RE0
(2), (3)
bit 7
bit 0
Legend:
R = Readable bit
W = Writable bit
U = Unimplemented bit, read as ‘0’
‘1’ = Bit is set
‘0’ = Bit is cleared
x = Bit is unknown
-n/n = Value at POR and BOR/Value at all other Resets
bit 7-4
Unimplemented: Read as ‘0’
bit 3
RE3: PORTE Input bit value
(1)
bit 2-0
RE<2:0>: PORTE I/O bit values
(2), (3)
Note 1:
Port is available as input only when MCLRE = 0.
2:
Writes to PORTx are written to corresponding LATx register. Reads from PORTx register is return of I/O 
pin values.
3:
Available on PIC18(L)F4XK22 devices. 
REGISTER 10-3:
ANSELA – PORTA ANALOG SELECT REGISTER
U-0
U-0
R/W-1
U-0
R/W-1
R/W-1
R/W-1
R/W-1
ANSA5
ANSA3
ANSA2
ANSA1
ANSA0
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-6
Unimplemented: Read as ‘0’
bit 5
ANSA5: RA5 Analog Select bit
1
 = Digital input buffer disabled
0
 = Digital input buffer enabled
bit 4
Unimplemented: Read as ‘0’
bit 3-0
ANSA<3:0>: RA<3:0> Analog Select bit
1
 = Digital input buffer disabled
0
 = Digital input buffer enabled