General-purpose timers (TIM2/TIM3) RM0367
520/1043 RM0367 Rev 7
Figure 149. Triggering timer y with update of timer x
As in the previous example, both counters can be initialized before starting counting.
Figure 150 shows the behavior with the same configuration as in Figure 149 but in trigger
mode instead of gated mode (SMS=110 in the TIMy_SMCR register).
Figure 150. Triggering timer y with Enable of timer x
MS33139V1
CK_INT
TIMERy-CNT
FDTIMERx-CNT
Write TIF = 0
TIMERy-CEN=CNT_EN
TIMERy-TIF
FE FF 00 01 02
46 47 4845
TIMERx-UEV
MS33140V1
CK_INT
TIMERy-CNT
TIMERx-CNT_INIT
Write TIF = 0
TIMERx-CEN=CNT_EN
TIMERy-TIF
E7
0200 01
E9
75
CD 00 E8 EA
TIMERx-CNT
TIMERy-CNT_INIT
TIMERy
write CNT