STM32F042x4 STM32F042x6
Table 6. No. of capacitive sensing channels available on STM32F042x devices
Analog I/O group
G1
G2
G3
G4
G5
Number of capacitive
sensing channels
3.12
Timers and watchdogs
The STM32F042x4/x6 devices include up to five general-purpose timers and an advanced
control timer.
compares the features of the different timers.
Table 7
Timer
Counter
Timer
type
resolution
Advanced
TIM1
control
TIM2
TIM3
General
purpose
TIM14
TIM16
TIM17
3.12.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
STM32F042Cx
STM32F042Tx
LQPF48
WLCSP36
UQFPN48
3
3
2
3
3
14
Table 7. Timer feature comparison
Counter
type
Up, down,
integer from
16-bit
up/down
1 to 65536
Up, down,
integer from
32-bit
up/down
1 to 65536
Up, down,
integer from
16-bit
up/down
1 to 65536
integer from
16-bit
Up
1 to 65536
integer from
16-bit
Up
1 to 65536
DocID025832 Rev 5
Number of capacitive sensing channels
STM32F042Kx
LQFP32
UQFPN32
3
3
3
3
1
2
2
3
3
3
3
13
14
14
DMA
Prescaler
request
factor
generation
Yes
Yes
Yes
No
Yes
Functional overview
STM32F042Gx
STM32F042Fx
UQFPN28
3
3
1
1
3
11
Capture/compare
Complementary
channels
4
4
4
1
1
TSSOP20
3
3
0
1
0
7
outputs
3
-
-
-
1
21/117
27
Need help?
Do you have a question about the STM32F042F4 and is the answer not in the manual?