English
Language : 

PIC16F1946 Datasheet, PDF (143/440 Pages) Microchip Technology – 64-Pin Flash-Based, 8-Bit CMOS Microcontrollers with LCD Driver and nanoWatt XLP Technology
PIC16F/LF1946/47
REGISTER 12-23: ANSELF: PORTF ANALOG SELECT REGISTER
R/W-1/1
ANSF7
bit 7
R/W-1/1
ANSF6
R/W-1/1
ANSF5
R/W-1/1
ANSDF4
R/W-1/1
ANSF3
R/W-1/1
ANSF2
R/W-1/1
ANSDF1
R/W-1/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-7: 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
ADCON0
—
CHS<4:0>
GO/DONE ADON
159
ANSELF
ANSF7 ANSF6 ANSF5 ANSF4 ANSF3 ANSF2 ANSF1 ANSF0
141
CCPxCON
PxM<1:0>(1)
DCxB<1:0>
CCPxM<3:0>
229
CMOUT
—
—
—
—
—
MC3OUT MC2OUT MC1OUT
179
CM1CON1
C1INTP C1INTN C1PCH1 C1PCH0
—
—
C1NCH<1:0>
179
CM2CON1
C2INTP C2INTN C2PCH1 C2PCH0
—
—
C2NCH<1:0>
179
CPSCON0
CPSON CPSRM
—
—
CPSRNG<1:0>
CPSOUT T0XCS
323
CPSCON1
—
—
—
—
DACCON0
DACEN DACLPS DACOE
—
CPSCH<3:0>
324
DACPSS<1:0>
—
DACNSS
171
LATD
LATF7
LATF6
LATF5
LATF4
LATF3
LATF2
LATF1
LATF0
133
LCDCON
LCDEN SLPEN WERR
—
CS<1:0>
LMUX<1:0>
329
LCDSE2
SE23
SE22
SE21
SE20
SE19
SE18
SE17
SE16
333
LCDSE3
SE31
SE30
SE29
SE28
SE27
SE26
SE25
SE24
333
LCDSE5
—
—
SE45
SE44
SE43
SE42
SE41
SE40
333
PORTF
RF7
RF6
RF5
RF4
RF3
RF2
RF1
RF0
140
SRCON0
SRLEN SRCLK2 SRCLK1 SRCLK0 SRQEN SRNQEN SRPS
SRPR
183
TRISF
Legend:
Note 1:
TRISF7 TRISF6 TRISF5 TRISF4 TRISF3 TRISF2 TRISF1 TRISF0
140
x = unknown, u = unchanged, – = unimplemented locations read as ‘0’. Shaded cells are not used by PORTF.
Applies to ECCP modules only.
TABLE 12-8: SUMMARY OF CONFIGURATION WORD WITH CLOCK SOURCES
Name Bits Bit -/7
Bit -/6
Bit 13/5
Bit 12/4
Bit 11/3 Bit 10/2
Bit 9/1
Bit 8/0
CONFIG2
Legend:
13:8
—
—
LVP
DEBUG
—
BORV
7:0
—
—
VCAPEN
—
—
—
— = unimplemented location, read as ‘0’. Shaded cells are not used by clock sources.
STVREN PLLEN
WRT<1:0>
Register
on Page
56
 2010 Microchip Technology Inc.
Preliminary
DS41414A-page 141