English
Language : 

PIC16LF1526 Datasheet, PDF (136/354 Pages) Microchip Technology – 64-Pin Flash Microcontrollers with nanoWatt XLP Technology
PIC16(L)F1526/27
REGISTER 12-27: ANSELF: PORTF ANALOG SELECT REGISTER
R/W-1
ANSF7
bit 7
R/W-1
ANSF6
R/W-1
ANSF5
R/W-1
ANSF4
R/W-1
ANSF3
R/W-1
ANSF2
R/W-1
ANSF1
R/W-1
ANSF0
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-0
ANSF<7:0>: Analog Select between Analog or Digital Function on pins RF<7:0>, respectively
0 = Digital I/O. Pin is assigned to port or digital special function.
1 = Analog input. Pin is assigned as analog input(1). Digital input buffer disabled.
Note 1: When setting a pin to an analog input, the corresponding TRIS bit must be set to Input mode in order to
allow external control of the voltage on the pin.
TABLE 12-14: SUMMARY OF REGISTERS ASSOCIATED WITH PORTF
Name
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
Register
on Page
ANSELF
LATF
ANSF7
ANSF6
ANSF5
ANSF4
ANSF3
ANSF2
ANSF1 ANSF0
136
LATF7
LATF6
LATF5
LATF4
LATF3
LATF2
LATF1
LATF0
135
PORTF
RF7
RF6
RF5
RF4
RF3
RF2
RF1
RF0
135
TRISF
Legend:
TRISF7 TRISF6 TRISF5 TRISF4 TRISF3 TRISF2 TRISF1 TRISF0
135
x = unknown, u = unchanged, - = unimplemented locations read as ‘0’. Shaded cells are not used by PORTF.
TABLE 12-15: SUMMARY OF CONFIGURATION WORD WITH PORTF
Name Bits Bit -/7
Bit -/6
Bit 13/5 Bit 12/4 Bit 11/3 Bit 10/2
CONFIG2
Legend:
Note 1:
13:8
—
LVP
DEBUG LPBOR BORV
7:0
—
—
—
VCAPEN(1)
—
—
— = unimplemented locations read as ‘0’. Shaded cells are not used by PORTF.
PIC16F1526/27 only.
Bit 9/1 Bit 8/0
STVREN
—
WRT<1:0>
Register
on Page
48
DS41458A-page 136
Preliminary
 2011 Microchip Technology Inc.