Datasheet

Table Of Contents
PIC16(L)F1526/7
DS41458C-page 134 2011-2013 Microchip Technology Inc.
TABLE 12-14: SUMMARY OF REGISTERS ASSOCIATED WITH PORTF
TABLE 12-15: SUMMARY OF CONFIGURATION WORD WITH PORTF
REGISTER 12-27: ANSELF: PORTF ANALOG SELECT REGISTER
R/W-1 R/W-1 R/W-1 R/W-1 R/W-1 R/W-1 R/W-1 R/W-1
ANSF7 ANSF6 ANSF5 ANSF4 ANSF3 ANSF2 ANSF1 ANSF0
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 ANSF<7:0>: Analog Select between Analog or Digital Function on pins RF<7:0>, respectively
1 = Analog input. Pin is assigned as analog input
(1)
. Digital input buffer disabled.
0 = Digital I/O. Pin is assigned to port or digital special function.
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.
Name Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0
Register
on Page
ANSELF ANSF7 ANSF6 ANSF5 ANSF4 ANSF3 ANSF2 ANSF1 ANSF0 134
LATF LATF7 LATF6 LATF5 LATF4 LATF3 LATF2 LATF1 LATF0 133
PORTF RF7 RF6 RF5 RF4 RF3 RF2 RF1 RF0 133
TRISF TRISF7 TRISF6 TRISF5 TRISF4 TRISF3 TRISF2 TRISF1 TRISF0 133
Legend: x = unknown, u = unchanged, - = unimplemented locations read as ‘0’. Shaded cells are not used by PORTF.
Name Bits Bit -/7 Bit -/6 Bit 13/5 Bit 12/4 Bit 11/3 Bit 10/2 Bit 9/1 Bit 8/0
Register
on Page
CONFIG2
13:8
LVP DEBUG LPBOR BORV STVREN
46
7:0
VCAPEN
(1)
WRT<1:0>
Legend: — = unimplemented locations read as0’. Shaded cells are not used by PORTF.
Note 1: PIC16F1526/7 only.