
ML51/ML54/ML56
Sep. 01, 2020
Page
587
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
6.15.4 Functional Description
Hysteresis Function
6.15.4.1
The analog comparator provides the hysteresis function to make the comparator to have a stable
output transition. If comparator output is 0, it will not be changed to 1 until the positive input voltage
exceeds the negative input voltage by a high threshold voltage. Similarly, if comparator output is 1, it
will not be changed to 0 until the positive input voltage drops below the negative input voltage by a low
threshold voltage.
High threshold voltage
Low threshold voltage
Positive input voltage
Negative input voltage
Comparator output
Figure 6.15-2 Comparator Hysteresis Function
Comparator Reference Voltage (CRV)
6.15.4.2
The comparator reference voltage (CRV) module is responsible for generating reference voltage for
comparators. The CRV module consists of resisters ladder and analog switch. User can set the CRV
output voltage by setting the CRVnCTL(ACMPV
REF
). The CRV output voltage can be selected as the
negative input of comparator by setting NEGSEL (ACMPCR0[5:4]).
Features:
1. User selectable references voltage source by setting the CRVSSEL(ACMPCR2[1]) register.
2. User selectable references voltage by setting the CRVnCTL(ACMPV
REF
) register.
Comparator reference voltage = V
IN
* (1/6+CRVnCTL/12); V
IN
= AV
DD
or V
REF.