English
Language : 

PIC16LF819-I Datasheet, PDF (84/176 Pages) Microchip Technology – Enhanced Flash Microcontrollers with nanoWatt Technology
PIC16F818/819
REGISTER 11-2:
ADCON1: A/D CONTROL REGISTER 1 (ADDRESS 9Fh)
R/W-0 R/W-0
U-0
U-0
R/W-0
R/W-0
ADFM ADCS2
—
—
PCFG3 PCFG2
bit 7
R/W-0
PCFG1
R/W-0
PCFG0
bit 0
bit 7
bit 6
bit 5-4
bit 3-0
ADFM: A/D Result Format Select bit
1 = Right justified, 6 Most Significant bits of ADRESH are read as ‘0’
0 = Left justified, 6 Least Significant bits of ADRESL are read as ‘0’
ADCS2: A/D Clock Divide by 2 Select bit
1 = A/D clock source is divided by 2 when system clock is used
0 = Disabled
Unimplemented: Read as ‘0’
PCFG<3:0>: A/D Port Configuration Control bits
PCFG AN4 AN3
AN2 AN1 AN0 VREF+ VREF-
C/R
0000
A
A
A
A
A
AVDD AVSS
5/0
0001
A
VREF+
A
A
A
AN3
AVSS
4/1
0010
A
A
A
A
A
AVDD AVSS
5/0
0011
A
VREF+
A
A
A
AN3
AVSS
4/1
0100
D
A
D
A
A
AVDD AVSS
3/0
0101
D
VREF+
D
A
A
AN3
AVSS
2/1
011x
D
D
D
D
D
AVDD AVSS
0/0
1000
A
VREF+
VREF-
A
A
AN3
AN2
3/2
1001
A
A
A
A
A
AVDD AVSS
5/0
1010
A
VREF+
A
A
A
AN3
AVSS
4/1
1011
A
VREF+
VREF-
A
A
AN3
AN2
3/2
1100
A
VREF+
VREF-
A
A
AN3
AN2
3/2
1101
D
VREF+
VREF-
A
A
AN3
AN2
2/2
1110
D
D
D
D
A
AVDD AVSS
1/0
1111
D
VREF+
VREF-
D
A
AN3
AN2
1/2
A = Analog input
D = Digital I/O
C/R = Number of analog input channels/Number of A/D voltage references
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
DS39598D-page 82
 2003 Microchip Technology Inc.