EasyManua.ls Logo

STMicroelectronics STM32WL5 Series - Page 620

STMicroelectronics STM32WL5 Series
1450 pages
Print Icon
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...
Comparator (COMP) RM0453
620/1450 RM0453 Rev 5
21 Comparator (COMP)
21.1 COMP introduction
The device embeds two ultra-low-power comparators (COMP1 and COMP2).
These comparators can be used for a variety of functions including the following:
• wake up from low-power mode triggered by an analog signal
• analog signal conditioning
• cycle-by-cycle current control loop when combined with a PWM output from a timer
21.2 COMP main features
• Configurable plus and minus inputs used for flexible voltage:
– Multiplexed I/O pins
– DAC channel1
– Internal reference voltage and three sub multiple values (1/4, 1/2, 3/4) provided by
scaler (buffered voltage divider)
• Programmable hysteresis
• Programmable speed / consumption
• Redirection of outputs to an I/O or to timer inputs for triggering:
– break events for fast PWM shutdowns
• Blanking of comparator outputs
• Window comparator
• Interrupt generation capability with wake up from Sleep and Stop modes (through the
EXTI controller)

Table of Contents