Datasheet
DocID027973 Rev 5 27/119
STM32L011x3/4 Functional overview
32
3.12 Ultra-low-power comparators and reference voltage
The STM32L011x3/4 embed two comparators sharing the same current bias and reference
voltage. The reference voltage can be internal or external (coming from an I/O).
• One comparator with ultra low consumption
• One comparator with rail-to-rail inputs, fast or slow mode.
• The threshold can be one of the following:
– External I/O pins
– Internal reference voltage (V
REFINT
)
– submultiple of Internal reference voltage(1/4, 1/2, 3/4) for the rail to rail
comparator.
Both comparators can wake up the devices from Stop mode, and be combined into a
window comparator.
The internal reference voltage is available externally via a low-power / low-current output
buffer (driving current capability of 1 µA typical).
3.13 System configuration controller
The system configuration controller provides the capability to remap some alternate
functions on different I/O ports.
The highly flexible routing interface allows the application firmware to control the routing of
different I/Os to the TIM2, TIM21 and LPTIM1 timer input captures. It also controls the
routing of internal analog signals to the ADC, COMP1 and COMP2 and the internal
reference voltage V
REFINT
.
3.14 Timers and watchdogs
The ultra-low-power STM32L011x3/4 devices include two general-purpose timers, one low-
power timer (LPTIM1), two watchdog timers and the SysTick timer.
Table 7 compares the features of the general-purpose and basic timers.
Table 7. Timer feature comparison
Timer
Counter
resolution
Counter type Prescaler factor
DMA
request
generation
Capture/compare
channels
Complementary
outputs
TIM2 16-bit
Up, down,
up/down
Any integer between
1 and 65536
Yes 4 No
TIM21 16-bit
Up, down,
up/down
Any integer between
1 and 65536
No 2 No
Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.