ST STM32G4 Series Reference Manual page 1421

Advanced arm-based 32-bit mcus
Hide thumbs Also See for STM32G4 Series:
Table of Contents

Advertisement

RM0440
30.8
TIM16/TIM17 registers
Refer to
30.8.1
TIMx control register 1 (TIMx_CR1)(x = 16 to 17)
Address offset: 0x00
Reset value: 0x0000
15
14
13
DITH
Res.
Res.
Res.
Bits 15:13 Reserved, must be kept at reset value.
Bit 12 DITHEN: Dithering enable
Note: The DITHEN bit can only be modified when CEN bit is reset.
Bit 11 UIFREMAP: UIF status bit remapping
Bit 10 Reserved, must be kept at reset value.
Bits 9:8 CKD[1:0]: Clock division
Bit 7 ARPE: Auto-reload preload enable
Bits 6:4 Reserved, must be kept at reset value.
Bit 3 OPM: One pulse mode
Bit 2 URS: Update request source
Section 1.2
for a list of abbreviations used in register descriptions.
12
11
10
9
UIFRE
Res.
CKD[1:0]
EN
MAP
rw
rw
rw
0: Dithering disabled
1: Dithering enabled
0: No remapping. UIF status bit is not copied to TIMx_CNT register bit 31.
1: Remapping enabled. UIF status bit is copied to TIMx_CNT register bit 31.
This bit-field indicates the division ratio between the timer clock (tim_ker_ck) frequency and
the dead-time and sampling clock (t
filters (tim_tix),
00: t
=t
DTS
tim_ker_ck
01: t
=2*t
DTS
tim_ker_ck
10: t
=4*t
DTS
tim_ker_ck
11: Reserved
0: TIMx_ARR register is not buffered
1: TIMx_ARR register is buffered
0: Counter is not stopped at update event
1: Counter stops counting at the next update event (clearing the bit CEN)
This bit is set and cleared by software to select the UEV event sources.
0: Any of the following events generate an update interrupt or DMA request if enabled.
These events can be:
Counter overflow/underflow
Setting the UG bit
Update generation through the slave mode controller
1: nly counter overflow/underflow generates an update interrupt or DMA request if enabled.
General-purpose timers (TIM15/TIM16/TIM17)
8
7
6
ARPE
Res.
rw
rw
)used by the dead-time generators and the digital
DTS
RM0440 Rev 4
5
4
3
2
Res.
Res.
OPM
URS
rw
rw
1
0
UDIS
CEN
rw
rw
1421/2126
1445

Hide quick links:

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the STM32G4 Series and is the answer not in the manual?

Table of Contents

Save PDF