stm32 /stm32h5 /STM32H523 /TIM5 /TIM5_CR2

Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text

Interpret as TIM5_CR2

31 2827 2423 2019 1615 1211 87 43 0 0 0 0 0 0 0 0 00 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 (B_0x0)CCDS 0 (B_0x0)MMS0 (B_0x0)TI1S 0 (MMS_1)MMS_1

MMS=B_0x0, CCDS=B_0x0, TI1S=B_0x0

Description

TIM5 control register 2

Fields

CCDS

Capture/compare DMA selection

0 (B_0x0): CCx DMA request sent when CCx event occurs

1 (B_0x1): CCx DMA requests sent when update event occurs

MMS

MMS[2:0]: Master mode selection

0 (B_0x0): Reset - the UG bit from the TIMx_EGR register is used as trigger output (tim_trgo).

1 (B_0x1): Enable - the Counter enable signal, CNT_EN, is used as trigger output (tim_trgo).

2 (B_0x2): Update - The update event is selected as trigger output (tim_trgo).

3 (B_0x3): Compare Pulse - The trigger output send a positive pulse when the CC1IF flag is to be set (even if it was already high), as soon as a capture or a compare match occurred (tim_trgo).

4 (B_0x4): Compare - tim_oc1refc signal is used as trigger output (tim_trgo)

5 (B_0x5): Compare - tim_oc2refc signal is used as trigger output (tim_trgo)

6 (B_0x6): Compare - tim_oc3refc signal is used as trigger output (tim_trgo)

7 (B_0x7): Compare - tim_oc4refc signal is used as trigger output (tim_trgo)

TI1S

tim_ti1 selection

0 (B_0x0): The tim_ti1_in[15:0] multiplexer output is to tim_ti1 input

1 (B_0x1): The tim_ti1_in[15:0], tim_ti2_in[15:0] and tim_ti3_in[15:0] multiplexers outputs are XORed and connected to the tim_ti1 input.

MMS_1

MMS[3]

Links

()