
Mini57
Apr. 06, 2017
Page 449 of 475
Rev.1.00
MINI5
7
S
E
RI
E
S
TECH
NIC
A
L R
E
F
E
RE
N
CE
MA
N
UA
L
ADC Window Comparator Control Register (ADC_WCMPCTL)
Register
Offset
R/W
Description
Reset Value
ADC_WCMPC
TL
0x34
R/W
ADC Window Comparator Control Register
0x0000_0000
31
30
29
28
27
26
25
24
Reserved
23
22
21
20
19
18
17
16
Reserved
15
14
13
12
11
10
9
8
Reserved
WCMPMCNT
7
6
5
4
3
2
1
0
WFLAGCTL WCMPHIGHE
N
WCMPMIDEN WCMPLOWE
N
Reserved
WCMPIEN
WCMPEN
Bits
Description
[31:12]
Reserved
Reserved.
[11:8]
WCMPMCNT
Window Compare Match Count
When the A/D conversion result matches the compare condition
defined by CMP Flag setting (CMPUPEN, CMPEQUEN, CMPLOWEN and
WCFLAGCTL), the internal match counter will increase 1.
When the internal counter reaches the value to (WCMPMCNT ), the CMPIF bit will be set.
NOTE:
If WCMPMCNT = 0,the counter would do 16 times.
[7]
WFLAGCTL
Window Comparator Flag Control
When the A/D conversion result matches the compare condition
0 = Auto-update.
1 = none.
[6]
WCMPHIGHEN
Window Comparator High Flag Enable Bit
Set A/D conversion result higher than compare condition High bound range
0 = Window Comparator High Flag Disabled.
1 = Window Comparator High Flag Enabled.
[5]
WCMPMIDEN
Window Comparator Middle Flag Enable Bit
Set A/D conversion result equal to compare condition at Low and High bound range
0 = Window Comparator Middle Flag Disabled.
1 = Window Comparator Middle Flag Enabled.
[4]
WCMPLOWEN
Window Comparator Low Flag Enable Bit
Set A/D conversion result lower than compare condition Low bound range
0 = Window Comparator Low Flag Disabled.
1 = Window Comparator Low Flag Enabled.
[3:2]
Reserved
Reserved.