DocID025832 Rev 2
STM32F042xx
Functional overview
27
3.12
Timers and watchdogs
The STM32F042x devices include up to five general-purpose timers and an advanced
control timer.
compares the features of the advanced-control and general-purpose timers.
Table 6. No. of capacitive sensing channels available on STM32F042x devices
Analog I/O group
Number of capacitive sensing channels
STM32F042Cx
LQPF48
UQFPN48
STM32F042Tx
WLCSP36
STM32F042Kx
LQFP32
UQFPN32
STM32F042Gx
UQFPN28
STM32F042Fx
TSSOP20
G1
3
3
3
3
3
G2
3
3
3
3
3
G3
2
2
1
2
1
0
G4
3
3
3
1
1
G5
3
3
3
3
0
Number of capacitive
sensing channels
14
14
13
14
11
7
Table 7. Timer feature comparison
Timer
type
Timer
Counter
resolution
Counter
type
Prescaler
factor
DMA request
generation
Capture/compare
channels
Complementary
outputs
Advanced
control
TIM1
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
TIM3
16-bit
Up,
down,
up/down
Any integer
between 1
and 65536
Yes
4
No
TIM14
16-bit
Up
Any integer
between 1
and 65536
No
1
No
TIM16,
TIM17
16-bit
Up
Any integer
between 1
and 65536
Yes
1
Yes