
NUC126
Aug. 08, 2018
Page
253
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
ACMP0
ACMP1
Voltage of
lower bound
ACMPS1
ACMPS0
ACMPWO
Voltage source
Voltage of
upper bound
Figure 6.5-7 Example Connection of Window Compare Mode
The comparator window output, ACMPW0 (ACMP_STATUS[16]), is come from ACMPS0 XOR
ACMPS1.
ACMP1_N
ACMP0_N
ACMP0/1_P
Voltage of upper bound
Voltage of lower bound
ACMPS1
ACMPS0
1: In the window
0: Out of the window
ACMPWO
Figure 6.5-8 Example of Window Compare Mode
As shown in Figure 6.5-8, if ACMPWO equals 1, it means positive input voltage inside the window.
Otherwise, the positive input voltage outside the window. Therefore, user can use ACMPWO to
monitor voltage transition of external analog pin. Furthermore, ACMPWO still can apply to window
latch, filter functions and interrupt of ACMP.