ISD94100 Series Technical Reference Manual
Sep 9, 2019
Page
790
of 928
Rev1.09
IS
D
9
410
0
S
ER
IE
S
T
E
C
HN
ICA
L
RE
F
E
RE
NCE
M
AN
U
AL
ADC Result Compare Register 0/1/2/3 (EADC_CMP0/1/2/3)
Register
Offset
R/W Description
Reset Value
EADC_CMP0
0xE0
R/W ADC Result Compare Register 0
0x0000_0000
EADC_CMP1
0xE4
R/W ADC Result Compare Register 1
0x0000_0000
EADC_CMP2
0xE8
R/W ADC Result Compare Register 2
0x0000_0000
EADC_CMP3
0xEC
R/W ADC Result Compare Register 3
0x0000_0000
31
30
29
28
27
26
25
24
Reserved
CMPDAT
23
22
21
20
19
18
17
16
CMPDAT
15
14
13
12
11
10
9
8
CMPWEN
Reserved
CMPMCNT
7
6
5
4
3
2
1
0
CMPSPL
CMPCOND
ADCMPIE
ADCMPEN
Bits
Description
[31:28]
Reserved
Reserved. Any values read should be ignored. When writing to this field always write with
reset value.
[27:16]
CMPDAT
Comparison Data
The 12 bits data is used to compare with conversion result of specified sample module.
User can use it to monitor the external analog input pin voltage transition without imposing
a load on software.
[15]
CMPWEN
Compare Window Mode Enable Bit
0 = ADCMPF0 (EADC_STATUS2[4]) will be set when EADC_CMP0 compared condition
matched. ADCMPF2 (EADC_STATUS2[6]) will be set when EADC_CMP2 compared
condition matched
1 = 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.
Note:
This bit is only present in EADC_CMP0 and EADC_CMP2 register.
[14:12]
Reserved
Reserved. Any values read should be ignored. When writing to this field always write with
reset value.
[11:8]
CMPMCNT
Compare Match Count
When the specified ADC sample module analog conversion result matches the compare
condition defined by CMPCOND (EADC_CMPn[2], n=0~3), the internal match counter will
increase 1. If the compare result does not meet the compare condition, the internal
compare match counter will reset to 0. When the internal counter reaches the value to
(C1), the ADCMPFn (EADC_STATUS2[7:4], n=0~3) will be set.