English
Language : 

PIC24FJ128GC010 Datasheet, PDF (355/472 Pages) Microchip Technology – 16-Bit Flash Microcontrollers with 12-Bit Pipeline A/D, Sigma-Delta A/D, USB On-The-Go and XLP Technology
PIC24FJ128GC010 FAMILY
REGISTER 26-6: ADLnCONH: A/D SAMPLE LIST n CONTROL HIGH REGISTER
(n = 0 to 3)
R/W-0
ASEN
bit 15
R/W-0
SLINT1
R/W-0
SLINT0
R/W-0
WM1
R/W-0
WM0
R/W-0
CM2
R/W-0
CM1
R/W-0
CM0
bit 8
R/W-0
CTMEN
bit 7
R/W-0
r
R/W-0
MULCHEN
R/W-0
SAMC4
R/W-0
SAMC3
R/W-0
SAMC2
R/W-0
SAMC1
R/W-0
SAMC0
bit 0
Legend:
R = Readable bit
-n = Value at POR
r = Reserved bit
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-11
bit 10-8
bit 7
bit 6
bit 5
ASEN: A/D Auto-Scan Enable bit
1 = Auto-Scan: Sample and convert all associated inputs sequentially on every trigger event
0 = Sequential Scan: Sample and convert the next associated input on trigger event
SLINT<1:0>: Interrupt Trigger Control bits
When ASEN = 1:
11 = Interrupt after auto-scan completion only if a match occurred
10 = Interrupt after every match
01 = Interrupt after auto-scan completion
00 = No Interrupt
When ASEN = 0:
11 = Reserved
10 = Interrupt after all entries in a sample list have been converted (SLSIZE<4:0> + 1 samples)
01 = Interrupt after every sample
00 = No interrupt
WM<1:0>: Internal Buffer Write Mode bits
11 = Reserved
10 = No conversion results saved (typically for threshold compare only)
01 = Conversion results saved when a match occurs (typically for threshold compare only)
00 = All conversion results saved to the ADRESn register associated with the conversion
CM<2:0>: Threshold Compare Match bits
111 = Reserved
110 = Reserved
101 = Reserved
100 = Outside Window Match: A/D Result < Low Threshold Value or A/D Result >Threshold High Value
011 = Inside Window Match: Low Threshold Value < A/D Result < Threshold High Value
010 = Greater Than Match: A/D Result > Threshold Value.
001 = Less Than Match: A/D Result < Threshold Value
000 = Matching is disabled
CTMEN: A/D CTMU Current Source Enable bit
1 = CTMU is enabled during sampling and used as a current source driving the selected analog input
0 = CTMU is not used as a current source driving selected analog input
Reserved: Maintain as ‘0’ for normal operation
MULCHEN: Multiple Channel Enable bit
1 = Channels 15 to n are connected in parallel and scanned together
0 = Channels 15 to n in the scan list are sampled one at a time, as defined by the ASEN bit
 2012-2013 Microchip Technology Inc.
DS30009312B-page 355