ML51/ML54/ML56
Sep. 01, 2020
Page
588
of 719
Rev 2.00
ML
51
/ML
54
/ML
5
6 S
E
RI
E
S
TECHNI
CA
L
RE
F
E
R
E
NC
E
M
A
NU
A
L
ML51/M
L54
/M
L56
Series
Tec
hnical Reference
Manual
111
000
110
101
100
011
010
001
0
1
3R
R
R
R
R
R
R
R
2R
CRVSSEL
(ACMPCR2[1])
VDD
VREF
CRVEN
(ACMPCR2[0])
CRV0
CRV0CTL[2:0]
(ACMPVREF[2:0])
111
000
110
101
100
011
010
001
3R
R
R
R
R
R
R
R
2R
CRV1
CRV1CTL[2:0]
(ACMPVREF[6:4])
Band-gap
CRVEN
(ACMPCR2[0])
Figure 6.15-3 Comparator Reference Voltage Block Diagram
Note that If CRVEN = 0, CRV0 is equal to 0 and CRV1 is equal to Band-gap.
Interrupt Sources
6.15.4.3
The comparator generates an output ACMPnO (ACMPSR). If the ACMPIE (ACMPCR0[1]) bit in
ACMPCR0 is set, a state change on the comparator output ACMPnO (ACMPSR) will cause
comparator flag ACMPnIF (ACMPSR) be set and the comparator interrupt requested. User can write 1
to ACMPnIF (ACMPSR) through software to stop interrupt request.
ACMPIE
ACMP_INT
ACMPO
ACMPIF
Figure 6.15-4 Analog Comparator Interrupt Sources