微可Vicor——值得信赖的元器件供应商
Functional overview
3.10.3
V
battery voltage monitoring
BAT
This embedded hardware feature allows the application to measure the V
using the internal ADC channel ADC_IN18. As the V
and thus outside the ADC input range, the V
divider by 2. As a consequence, the converted digital value is half the V
3.11
Timers and watchdogs
The STM32F031x4/x6 devices include up to five general-purpose timers and an advanced
control timer.
Table 5
compares the features of the different timers.
Timer
Counter
Timer
type
resolution
Advanced
TIM1
control
TIM2
TIM3
General
purpose
TIM14
TIM16,
TIM17
3.11.1
Advanced-control timer (TIM1)
The advanced-control timer (TIM1) can be seen as a three-phase PWM multiplexed on six
channels. It has complementary PWM outputs with programmable inserted dead times. It
can also be seen as a complete general-purpose timer. The four independent channels can
be used for:
Input capture
Output compare
PWM generation (edge or center-aligned modes)
One-pulse mode output
If configured as a standard 16-bit timer, it has the same features as the TIMx timer. If
configured as the 16-bit PWM generator, it has full modulation capability (0-100%).
The counter can be frozen in debug mode.
18/113
微可Vicor——值得信赖的元器件供应商
Table 5. Timer feature comparison
Counter
Prescaler
type
Up,
Any integer
16-bit
down,
between 1
up/down
and 65536
Up,
Any integer
32-bit
down,
between 1
up/down
and 65536
Up,
Any integer
16-bit
down,
between 1
up/down
and 65536
Any integer
16-bit
Up
between 1
and 65536
Any integer
16-bit
Up
between 1
and 65536
DocID025743 Rev 3
http://www.vicor.top/
BAT
pin is internally connected to a bridge
BAT
DMA request
factor
generation
Yes
Yes
Yes
No
Yes
http://www.vicor.top/
021-31660491
STM32F031x4 STM32F031x6
battery voltage
BAT
voltage may be higher than V
voltage.
BAT
Capture/compare
Complementary
channels
4
4
4
1
1
021-31660491
,
DDA
outputs
3
No
No
No
1
Need help?
Do you have a question about the STM32F031F4 and is the answer not in the manual?