Datasheet

DocID023353 Rev 7 21/133
STM32F303xB STM32F303xC Functional overview
53
3.15 Fast comparators (COMP)
The STM32F303xB/STM32F303xC devices embed seven fast rail-to-rail comparators with
programmable reference voltage (internal or external), hysteresis and speed (low speed for
low power) and with selectable output polarity.
The reference voltage can be one of the following:
External I/O
DAC output pin
Internal reference voltage or submultiple (1/4, 1/2, 3/4). Refer to Table 26: Embedded
internal reference voltage on page 62 for the value and precision of the internal
reference voltage.
All comparators can wake up from STOP mode, generate interrupts and breaks for the
timers and can be also combined per pair into a window comparator
3.16 Timers and watchdogs
The STM32F303xB/STM32F303xC includes two advanced control timers, up to six general-
purpose timers, two basic timers, two watchdog timers and a SysTick timer. The table below
compares the features of the advanced control, general purpose and basic timers.
Table 3. Timer feature comparison
Timer type Timer
Counter
resolution
Counter
type
Prescaler
factor
DMA
request
generation
Capture/
compare
Channels
Complementary
outputs
Advanced
TIM1,
TIM8
16-bit
Up, Down,
Up/Down
Any integer
between 1
and 65536
Yes 4 Yes
General-
purpose
TIM2 32-bit
Up, Down,
Up/Down
Any integer
between 1
and 65536
Yes 4 No
General-
purpose
TIM3, TIM4 16-bit
Up, Down,
Up/Down
Any integer
between 1
and 65536
Yes 4 No
General-
purpose
TIM15 16-bit Up
Any integer
between 1
and 65536
Yes 2 1
General-
purpose
TIM16, TIM17 16-bit Up
Any integer
between 1
and 65536
Yes 1 1
Basic
TIM6,
TIM7
16-bit Up
Any integer
between 1
and 65536
Yes 0 No