English
Language : 

PIC24F08KA102-I Datasheet, PDF (177/278 Pages) Microchip Technology – 20/28-Pin General Purpose, 16-Bit Flash Microcontrollers with nanoWatt XLP Technology
PIC24F16KA102 FAMILY
REGISTER 22-2: AD1CON2: A/D CONTROL REGISTER 2 (CONTINUED)
bit 1
BUFM: Buffer Mode Select bit
1 = Buffer is configured as two 8-word buffers (ADC1BUFn<15:8> and ADC1BUFn<7:0>)
0 = Buffer is configured as one 16-word buffer (ADC1BUFn<15:0>)
bit 0
ALTS: Alternate Input Sample Mode Select bit
1 = Uses MUX A input multiplexer settings for first sample, then alternates between MUX B and
MUX A input multiplexer settings for all subsequent samples
0 = Always uses MUX A input multiplexer settings
Note 1:
When the OFFCAL bit is set, inputs are disconnected and tied to AVSS. This sets the inputs of the A/D to
zero. Then, the user can perform a conversion. Use of the Calibration mode is not affected by AD1PCFG
contents nor channel input selection. Any analog input switches are disconnected from the A/D Converter
in this mode. The conversion result is stored by the user software and used to compensate subsequent
conversions. This can be done by adding the two’s complement of the result obtained with the OFFCAL bit
set to all normal A/D conversions.
REGISTER 22-3: AD1CON3: A/D CONTROL REGISTER 3
R/W-0
U-0
ADRC
—
bit 15
U-0
R/W-0
R/W-0
—
SAMC4
SAMC3
R/W-0
SAMC2
R/W-0
SAMC1
R/W-0
SAMC0
bit 8
U-0
—
bit 7
U-0
R/W-0
R/W-0
R/W-0
R/W-0
R/W-0
R/W-0
—
ADCS5
ADCS4
ADCS3
ADCS2
ADCS1
ADCS0
bit 0
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
bit 15
bit 14-13
bit 12-8
bit 7-6
bit 5-0
ADRC: A/D Conversion Clock Source bit
1 = A/D internal RC clock
0 = Clock derived from system clock
Unimplemented: Read as ‘0’
SAMC<4:0>: Auto-Sample Time bits
11111 = 31 TAD
·
·
·
00001 = 1 TAD
00000 = 0 TAD (not recommended)
Unimplemented: Read as ‘0’
ADCS<5:0>: A/D Conversion Clock Select bits
111111 = 64 • TCY
111110 = 63 • TCY
·
·
·
000001 = 3 • TCY
000000 = 2 • TCY
 2008-2011 Microchip Technology Inc.
DS39927C-page 177