
NUC126
Aug. 08, 2018
Page
259
of 943
Rev 1.03
NUC12
6 S
E
RI
E
S
T
E
CH
NI
CA
L R
E
F
E
RE
NCE
MA
NUA
L
Analog Comparator Status Register (ACMP_STATUS)
Register
Offset
R/W
Description
Reset Value
ACMP_STATUS
AC0x08 R/W
Analog Comparator Status Register
0x0000_0000
31
30
29
28
27
26
25
24
Reserved
23
22
21
20
19
18
17
16
Reserved
ACMPWO
15
14
13
12
11
10
9
8
Reserved
ACMPS1
ACMPS0
Reserved
WKIF1
WKIF0
7
6
5
4
3
2
1
0
Reserved
ACMPO1
ACMPO0
Reserved
ACMPIF1
ACMPIF0
Bits
Description
[31:17]
Reserved
Reserved.
[16]
ACMPWO
Comparator Window Output
This bit shows the output status of window compare mode
0 = The positvie input voltage is outside the window.
1 = The positive input voltage is in the window.
[15:14]
Reserved
Reserved.
[13]
ACMPS1
Comparator 1 Status
Synchronized to the PCLK to allow reading by software. Cleared when the comparator 1
is disabled, i.e. ACMPEN (ACMP_CTL1[0]) is cleared to 0.
[12]
ACMPS0
Comparator 0 Status
Synchronized to the PCLK to allow reading by software. Cleared when the comparator 0
is disabled, i.e. ACMPEN (ACMP_CTL0[0]) is cleared to 0.
[11:10]
Reserved
Reserved.
[9]
WKIF1
Comparator 1 Power-down Wake-up Interrupt Flag
This bit will be set to 1 when ACMP1 wake-up interrupt event occurs.
0 = No power-down wake-up occurred.
1 = Power-down wake-up occurred.
Note:
Write 1 to clear this bit to 0.
[8]
WKIF0
Comparator 0 Power-down Wake-up Interrupt Flag
This bit will be set to 1 when ACMP0 wake-up interrupt event occurs.
0 = No power-down wake-up occurred.
1 = Power-down wake-up occurred.
Note:
Write 1 to clear this bit to 0.
[7:6]
Reserved
Reserved.
[5]
ACMPO1
Comparator 1 Output
Synchronized to the PCLK to allow reading by software. Cleared when the comparator 1