Microchip Technology DM160214 Data Sheet

Page of 478
PIC16(L)F1946/47
DS41414D-page 146
 2010-2012 Microchip Technology Inc.
12.14 Register Definitions: PORTF
REGISTER 12-20: PORTF: PORTF REGISTER
R/W-x/u
R/W-x/u
R/W-x/u
R/W-x/u
R/W-x/u
R/W-x/u
R/W-x/u
R/W-x/u
RF7
RF6
RF5
RF4
RF3
RF2
RF1
RF0
bit 7
bit 0
Legend:
R = Readable bit
W = Writable bit
U = Unimplemented bit, read as ‘0’
u = Bit is unchanged
x = Bit is unknown
-n/n = Value at POR and BOR/Value at all other Resets
‘1’ = Bit is set
‘0’ = Bit is cleared
bit 7-0
RF<7:0>: PORTF General Purpose I/O Pin bits
1 = Port pin is > V
IH
0 = Port pin is < V
IL
REGISTER 12-21: TRISF: PORTF TRI-STATE REGISTER
R/W-1/1
R/W-1/1
R/W-1/1
R/W-1/1
R/W-1/1
R/W-1/1
R/W-1/1
R/W-1/1
TRISF7
TRISF6
TRISF5
TRISF4
TRISF3
TRISF2
TRISF1
TRISF0
bit 7
bit 0
Legend:
R = Readable bit
W = Writable bit
U = Unimplemented bit, read as ‘0’
u = Bit is unchanged
x = Bit is unknown
-n/n = Value at POR and BOR/Value at all other Resets
‘1’ = Bit is set
‘0’ = Bit is cleared
bit 7-0
TRISF<7:0>: PORTF Tri-State Control bits
1 = PORTF pin configured as an input (tri-stated)
0 = PORTF pin configured as an output
REGISTER 12-22: LATF: PORTF DATA LATCH REGISTER
R/W-x/u
R/W-x/u
R/W-x/u
R/W-x/u
R/W-x/u
R/W-x/u
R/W-x/u
R/W-x/u
LATF7
LATF6
LATF5
LATF4
LATF3
LATF2
LATF1
LATF0
bit 7
bit 0
Legend:
R = Readable bit
W = Writable bit
U = Unimplemented bit, read as ‘0’
u = Bit is unchanged
x = Bit is unknown
-n/n = Value at POR and BOR/Value at all other Resets
‘1’ = Bit is set
‘0’ = Bit is cleared
bit 7-0
LATF<7:0>: PORTF Output Latch Value bits
(1)
Note 1:
Writes to PORTF are actually written to corresponding LATF register. Reads from PORTF register is return 
of actual I/O pin values.