Microchip Technology MA160014 Data Sheet

Page of 560
PIC18(L)F2X/4XK22
DS41412F-page 306
 2010-2012 Microchip Technology Inc.
 
REGISTER 17-3:
ADCON2: A/D CONTROL REGISTER 2
R/W-0
U-0
R/W-0
R/W-0
R/W-0
R/W-0
R/W-0
R/W-0
ADFM
ACQT<2:0>
ADCS<2:0>
bit 7
bit 0
Legend:
R = Readable bit
W = Writable bit
U = Unimplemented bit, read as ‘0’
-n = Value at POR
‘1’ = Bit is set
‘0’ = Bit is cleared
x = Bit is unknown
bit 7
ADFM: A/D Conversion Result Format Select bit
1
 = Right justified
0
 = Left justified
bit 6
Unimplemented: Read as ‘0’
bit 5-3
ACQT<2:0>: A/D Acquisition time select bits. Acquisition time is the duration that the A/D charge 
holding capacitor remains connected to A/D channel from the instant the GO/DONE bit is set until 
conversions begins.
000
 = 0
(1)
001
 = 2 T
AD
010
 = 4 T
AD
011
 = 6 T
AD
100
 = 8 T
AD
101
 = 12 T
AD
110
 = 16 T
AD
111
 = 20 T
AD
bit 2-0
ADCS<2:0>: A/D Conversion Clock Select bits
000
 = F
OSC
/2
001
 = F
OSC
/8
010
 = F
OSC
/32
011
 = F
RC
(1)
 (clock derived from a dedicated internal oscillator = 600 kHz nominal)
100
 = F
OSC
/4
101
 = F
OSC
/16
110
 = F
OSC
/64
111
 = F
RC
(1)
 (clock derived from a dedicated internal oscillator = 600 kHz nominal)
Note 1:
When the A/D clock source is selected as F
RC
 then the start of conversion is delayed by one instruction 
cycle after the GO/DONE bit is set to allow the SLEEP instruction to be executed.