Overview
The general purpose comparators, CMP0 and CMP1, can work either standalone or together with the
timers.
It could be used to wake up the MCU from low-power mode by an analog signal, provide a trigger source
when an analog signal is in a certain condition, achieves some current control by working together with a
PWM output of a timer and the DAC.
Characteristic
(1) Rail-to-rail comparators
(2) Configurable hysteresis
(3) Configurable speed and consumption
(4) Each comparator has configurable analog input source
(5) The whole or sub-multiple values of internal reference voltage Window comparator
(6) Outputs to I/O
(7) Outputs to timers for triggering
CMP Block Pins
Comparator characteristics