
M451
May. 4, 2018
Page
941
of
1006
Rev.2.08
M4
51
S
E
RI
E
S
T
E
CH
NICA
L RE
F
E
R
E
NC
E
M
A
NU
A
L
Sample module 0~18
DAT Result Register
RESULT >= CMPDAT
RESULT < CMPDAT
CMPCOND(EADC_MPPn[2])
1
0
APCMPFn
(EADC_STATUS2[7:4])
Control Logic
Match
Counter
CMPMCNT
(EADC_CMPn[11:8])
CMPSPL(EADC_CMPn[7:3])
RESULT
(EADC_DATn[11:0]
CMPDAT(EADC_CMPn[27:16])
Note:
CMPDAT (EADC_CMPn[27:16]
RESULT(EADC_PATn[11:0]
+
-
12-bit Digital Comparator
ADCMPOn
(EADC_STATUS2[15:12])
Figure 6.22-14 A/D Conversion Result Monitor Logics Diagram
The ADC controller supports a window compare mode. User can set CMPWEN (EADC_CMP0[15]/
EADC_CMP2[15] ) to enable this function. If user enable this function, ADCMPF0
(EADC_STATUS2[4]) will be set when both EADC_CMP0 and EADC_CMP1 compared condition
matched. ADCMPF2 (EADC_STATUS2[6]) will be set when both EADC_CMP2 and EADC_CMP3
compared condition matched.
Differential Mode
6.22.5.10
The ADC controller supports analog differential mode. If user enable DIFFEN (EADC_CTL[8]), the
differential mode will enable.
Differential analog input voltage (Vdiff) = Vplus - Vminus, where Vplus is the analog input; Vminus is
the inverted analog input.
In differential analog input mode, only the even number of the two corresponding channels needs to
be enabled in CHSEL (EADC_SCTLn[3:0]). The conversion result will be placed to the corresponding
data register of the enabled channel. The conversion result will store with 2'complement format when
DMOF (EADC_CTL[9]) = 1.
Differential Analog Input Paired
Channel
ADC Analog Input
V
plus
V
minus
0
EADC_CH0
EADC_CH1
1
EADC_CH2
EADC_CH3
2
EADC_CH4
EADC_CH5
3
EADC_CH6
EADC_CH7
4
EADC_CH8
EADC_CH9
5
EADC_CH10
EADC_CH11
6
EADC_CH12
EADC_CH13
7
EADC_CH14
EADC_CH15
Table 6-44 EADC Differential Model Channel Table
Double Buffer Mode
6.22.5.11
The ADC controller supports a double buffer mode in sample module 0~3. If user enable DBMEN
(EADC_SCTLn[23], n=0~3), the double buffer mode will enable. In double buffer mode, after first time