English
Language : 

PIC16LF720_11 Datasheet, PDF (48/244 Pages) Microchip Technology – 20-Pin Flash Microcontrollers with nanoWatt XLP Technology
PIC16(L)F720/721
REGISTER 6-1: PORTA: PORTA REGISTER
U-0
—
bit 7
U-0
R/W-x
R/W-x
—
RA5
RA4
R/W-x
RA3(1)
R/W-x
RA2
R/W-x
RA1
R/W-x
RA0
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-6
bit 5-0
Unimplemented: Read as ‘0’
RA<5:0>: PORTA I/O Pin bit
1 = Port pin is > VIH
0 = Port pin is < VIL
Note 1: PORTA<3> is input only.
REGISTER 6-2: TRISA: PORTA TRI-STATE REGISTER
U-0
—
bit 7
U-0
R/W-1
R/W-1
U-1
—
TRISA5
TRISA4
—(1)
R/W-1
TRISA2
R/W-1
TRISA1
R/W-1
TRISA0
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-6
bit 5-0
Unimplemented: Read as ‘0’
TRISA<5:0>: PORTA Tri-State Control bit
1 = PORTA pin configured as an input (tri-stated)
0 = PORTA pin configured as an output
Note 1: TRISA<3> is unimplemented and read as 1.
REGISTER 6-3:
U-0
—
bit 7
WPUA: WEAK PULL-UP PORTA REGISTER
U-0
R/W-1
R/W-1
R/W-1
—
WPUA5
WPUA4
WPUA3(2)
R/W-1
WPUA2
R/W-1
WPUA1
R/W-1
WPUA0
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-6
Unimplemented: Read as ‘0’
bit 5-0
WPUA<5:0>: Weak Pull-up PORTA Control bits
1 = Weak pull-up enabled( 1)
0 = Weak pull-up disabled
Note 1: Enabling weak pull-ups also requires that the RABPU bit of the OPTION register be cleared.
2: If MCLREN = 1, WPUA3 is always enabled.
DS41430B-page 48
Preliminary
 2011 Microchip Technology Inc.