GD32F3x0 User Manual
203
13. Comparator (CMP)
13.1. Overview
The general purpose comparators, CMP0 and CMP1, can work either standalone (all
terminal are available on I/Os) or together with the timers.
13.2. Characteristic
Rail-to-rail comparators.
Configurable hysteresis.
Configurable speed and consumption.
Each comparator has configurable analog input source.
– DAC output
– CMP input pins
– The whole or sub-multiple values of internal reference voltage.
Window comparator.
Outputs to I/O.
Outputs to timers for triggering.
Outputs to EXTI.
13.3. Function overview
The block diagrams of CMP are shown below.