English
Language : 

DSPIC33FJ32GS406_12 Datasheet, PDF (315/456 Pages) Microchip Technology – 16-Bit Digital Signal Controllers with High-Speed PWM, ADC and Comparators
dsPIC33FJ32GS406/606/608/610 and dsPIC33FJ64GS406/606/608/610
REGISTER 22-1: ADCON: ADC CONTROL REGISTER
R/W-0
U-0
R/W-0
R/W-0
U-0
R/W-0
U-0
R/W-0
ADON
—
ADSIDL
SLOWCLK(1)
—
GSWTRG
—
FORM(1)
bit 15
bit 8
R/W-0
R/W-0
R/W-0
R/W-0
U-0
EIE(1)
ORDER(1,2) SEQSAMP(1,2) ASYNCSAMP(1)
—
bit 7
R/W-0
R/W-1
ADCS<2:0>(1)
R/W-1
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
bit 13
bit 12
bit 11
bit 10
bit 9
bit 8
bit 7
bit 6
bit 5
bit 4
ADON: ADC Module Operating Mode bit
1 = ADC module is operating
0 = ADC module is off
Unimplemented: Read as ‘0’
ADSIDL: ADC Stop in Idle Mode bit
1 = Discontinues module operation when device enters Idle mode
0 = Continues module operation in Idle mode
SLOWCLK: Enable the Slow Clock Divider bit(1)
1 = ADC is clocked by the auxiliary PLL (ACLK)
0 = ADC is clock by the primary PLL (FVCO)
Unimplemented: Read as ‘0’
GSWTRG: Global Software Trigger bit
When this bit is set by the user, it will trigger conversions if selected by the TRGSRCx<4:0> bits in the
ADCPCx registers. This bit must be cleared by the user prior to initiating another global trigger (i.e.,
this bit is not auto-clearing).
Unimplemented: Read as ‘0’
FORM: Data Output Format bit(1)
1 = Fractional (DOUT = dddd dddd dd00 0000)
0 = Integer (DOUT = 0000 00dd dddd dddd)
EIE: Early Interrupt Enable bit(1)
1 = Interrupt is generated after first conversion is completed
0 = Interrupt is generated after second conversion is completed
ORDER: Conversion Order bit(1,2)
1 = Odd numbered analog input is converted first, followed by conversion of even numbered input
0 = Even numbered analog input is converted first, followed by conversion of odd numbered input
SEQSAMP: Sequential S&H Sampling Enable bit(1,2)
1 = Shared Sample and Hold (S&H) circuit is sampled at the start of the second conversion if
ORDER = 0. If ORDER = 1, then the shared S&H is sampled at the start of the first conversion.
0 = Shared S&H is sampled at the same time the dedicated S&H is sampled if the shared S&H is not cur-
rently busy with an existing conversion process. If the shared S&H is busy at the time the dedicated
S&H is sampled, then the shared S&H will sample at the start of the new conversion cycle.
ASYNCSAMP: Asynchronous Dedicated S&H Sampling Enable bit(1)
1 = The dedicated S&H is constantly sampling and then terminates sampling as soon as the trigger
pulse is detected
0 = The dedicated S&H starts sampling when the trigger event is detected and completes the
sampling process in two ADC clock cycles
Note 1: This control bit can only be changed while the ADC is disabled (ADON = 0).
2: This control bit is only active on devices that have one SAR.
 2009-2012 Microchip Technology Inc.
DS70591E-page 315