Tim6/Tim7 Control Register 2 (Timx_Cr2) - ST STM32L4x6 Reference Manual

Table of Contents

Advertisement

RM0351
29.4.2

TIM6/TIM7 control register 2 (TIMx_CR2)

Address offset: 0x04
Reset value: 0x0000
15
14
13
Res
Res
Res
Bits 15:7 Reserved, must be kept at reset value.
Bits 6:4 MMS: Master mode selection
These bits are used to select the information to be sent in master mode to slave timers for
synchronization (TRGO). The combination is as follows:
Note: The clock of the slave timer or ADC must be enabled prior to receive events from the
Bits 3:0 Reserved, must be kept at reset value.
29.4.3
TIM6/TIM7 DMA/Interrupt enable register (TIMx_DIER)
Address offset: 0x0C
Reset value: 0x0000
15
14
13
Res
Res
Res
Bits 15:9 Reserved, must be kept at reset value.
Bit 8 UDE: Update DMA request enable
0: Update DMA request disabled.
1: Update DMA request enabled.
Bits 7:1 Reserved, must be kept at reset value.
Bit 0 UIE: Update interrupt enable
0: Update interrupt disabled.
1: Update interrupt enabled.
12
11
10
9
Res
Res
Res
Res
000: Reset - the UG bit from the TIMx_EGR register is used as a trigger output (TRGO). If
reset is generated by the trigger input (slave mode controller configured in reset mode) then
the signal on TRGO is delayed compared to the actual reset.
001: Enable - the Counter enable signal, CNT_EN, is used as a trigger output (TRGO). It is
useful to start several timers at the same time or to control a window in which a slave timer
is enabled. The Counter Enable signal is generated by a logic OR between CEN control bit
and the trigger input when configured in gated mode.
When the Counter Enable signal is controlled by the trigger input, there is a delay on TRGO,
except if the master/slave mode is selected (see the MSM bit description in the TIMx_SMCR
register).
010: Update - The update event is selected as a trigger output (TRGO). For instance a
master timer can then be used as a prescaler for a slave timer.
master timer, and must not be changed on-the-fly while triggers are received from the
master timer.
12
11
10
9
Res
Res
Res
Res
8
7
6
Res
Res
rw
8
7
6
UDE
Res
Res
rw
DocID024597 Rev 3
Basic timers (TIM6/TIM7)
5
4
3
MMS[2:0]
Res
rw
rw
5
4
3
Res
Res
Res
2
1
0
Res
Res
Res
2
1
0
Res
Res
UIE
rw
1019/1693
1022

Advertisement

Table of Contents
loading
Need help?

Need help?

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

Questions and answers

Table of Contents

Save PDF