Datasheet
Functional overview STM32F303x6/x8
22/121 DocID025083 Rev 7
3.13 Ultra-fast comparators (COMP)
The STM32F303x6/8 devices embed three ultra-fast rail-to-rail comparators (COMP2/4/6)
that offer the features below:
• Programmable internal or external reference voltage
• Selectable output polarity.
The reference voltage can be one of the following:
• External I/O
• DAC output
• Internal reference voltage or submultiple (1/4, 1/2, 3/4). Refer to Table 24: Embedded
internal reference voltage for values and parameters of the internal reference voltage.
All comparators can wake up from STOP mode, generate interrupts and breaks for the
timers.
3.14 Timers and watchdogs
The STM32F303x6/8 includes advanced control timer, 5 general-purpose timers, basic
timer, two watchdog timers and a SysTick timer. The table below compares the features of
the advanced control, general purpose and basic timers.
Table 5. Timer feature comparison
Timer type Timer
Counter
resolution
Counter
type
Prescaler
factor
DMA
request
generation
Capture/
compare
channels
Complementary
outputs
Advanced
control
TIM1
(1)
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 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
1. TIM1 can be clocked from the PLL x 2 running at up to 144 MHz when the system clock source is the PLL and AHB or
APB2 subsystem clocks are not divided by more than 2 cumulatively.
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.