|
PIC16LF1454 Datasheet, PDF (132/418 Pages) Microchip Technology – 14/20-Pin Flash, 8-Bit USB Microcontrollers with XLP Technology | |||
|
◁ |
PIC16(L)F1454/5/9
12.4 Register Definitions: PORTA
REGISTER 12-2: PORTA: PORTA REGISTER
U-0
â
bit 7
U-0
R/W-x/x
R/W-x/x
R-x/x
U-0
R-x/x
R-x/x
â
RA5
RA4
RA3
â
RA1
RA0
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-6
bit 5-3
bit 2
bit 1-0
Unimplemented: Read as â0â
RA<5:3>: PORTA I/O Value bits(1)
1 = Port pin is > VIH
0 = Port pin is < VIL
Unimplemented: Read as â0â
RA<1:0>: PORTA I/O Value bits(1)
1 = Port pin is > VIH
0 = Port pin is < VIL
Note 1: Writes to PORTA are actually written to corresponding LATA register. Reads from PORTA register is return
of actual I/O pin values.
REGISTER 12-3: TRISA: PORTA TRI-STATE REGISTER
U-0
â
bit 7
U-0
R/W-1/1
R/W-1/1
U-1
U-0
U-1
U-1
â
TRISA5
TRISA4
â(1)
â
â(1)
â(1)
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-6
bit 5-4
bit 3
bit 2
bit 1-0
Unimplemented: Read as â0â
TRISA<5:4>: PORTA Tri-State Control bit
1 = PORTA pin configured as an input (tri-stated)
0 = PORTA pin configured as an output
Unimplemented: Read as â1â
Unimplemented: Read as â0â
Unimplemented: Read as â1â
Note 1: Unimplemented, read as â1â.
DS41639A-page 132
Preliminary
ï£ 2012 Microchip Technology Inc.
|
▷ |