
M0A21/M0A23 Series
May 06, 2022
Page
729
of 746
Rev 1.02
M0
A21
/M
0
A
2
3
SE
RIES
TEC
H
NICAL
RE
FEREN
C
E
M
ANUAL
6.21.7 Register Description
Analog Comparator 0 Control Register (ACMP_CTL0)
Register
Offset
R/W
Description
Reset Value
ACMP_CTL0
AC0x00
R/W
Analog Comparator 0 Control Register
0x0000_0000
31
30
29
28
27
26
25
24
Reserved
HYSBYPASS
Reserved
HYSSEL
23
22
21
20
19
18
17
16
Reserved
INTPOL
Reserved
WCMPSEL
WLATEN
WKEN
15
14
13
12
11
10
9
8
FILTSEL
OUTSEL
Reserved
POSSEL
7
6
5
4
3
2
1
0
Reserved
NEGSEL
ACMPOINV
Reserved
ACMPIE
ACMPEN
Bits
Description
[31]
Reserved
Reserved.
[30]
HYSBYPASS
Hysteresis Adjust Function Selection
0 = Enable adjust function
1 = Bypass adjust function
[29:26]
Reserved
Reserved.
[25:24]
HYSSEL
Hysteresis Mode Selection
00 = Hysteresis is 0mV.
11 = Hysteresis is 30mV.
[23:22]
Reserved
Reserved.
[21:20]
INTPOL
Interrupt Condition Polarity Selection
ACMPIF0 will be set to 1 when comparator output edge condition is detected.
00 = Rising edge or falling edge.
01 = Rising edge.
10 = Falling edge.
11 = Reserved.
[19]
Reserved
Reserved.
[18]
WCMPSEL
Window Compare Mode Selection
0 = Window Compare Mode Disabled.
1 = Window Compare Mode Selected.
[17]
WLATEN
Window Latch Mode Enable Bit
0 = Window Latch Mode Disabled.
1 = Window Latch Mode Enabled.
[16]
WKEN
Power-down Wake-up Enable Bit
0 = Wake-up function Disabled.