EasyManua.ls Logo

STMicroelectronics STM32F05 series - Comparator (COMP); COMP Introduction; COMP Main Features

STMicroelectronics STM32F05 series
742 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
RM0091 Comparator (COMP)
Doc ID 018940 Rev 1 215/742
14 Comparator (COMP)
14.1 COMP introduction
The STM32F05xxx embeds two general purpose comparators COMP1 and COMP2 that
can be used either as standalone devices (all terminal are available on I/Os) or combined
with the timers. They can be used for a variety of functions including:
Wake-up from low-power mode triggered by an analog signal,
Analog signal conditioning,
Cycle-by-cycle current control loop when combined with the DAC and a PWM output
from a timer.
14.2 COMP main features
Rail-to-rail comparators
Each comparator have selectable threshold
3 I/O pins
–DAC1
The internal reference voltage and three sub-multiple values (1/4, 1/2, 3/4)
Programmable hysteresis
Programmable speed and consumption
The outputs can be redirected to an I/O or to multiple timer inputs for triggering:
Capture events
OCref_clr events (for cycle-by-cycle current control)
Break events for fast PWM shutdowns
Every two comparators can be combined in a window comparator (COMP1/COMP2,).
The two comparators can be combined in a window comparator
Each comparator has interrupt generation capability with wake-up from Sleep and Stop
modes (through the EXTI controller)

Table of Contents

Related product manuals