Tim1&Tim8 Dma/Interrupt Enable Register (Timx_Dier); Table 82. Timx Internal Trigger Connection - ST STM32F101 series Reference Manual

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

Advertisement

Advanced-control timers (TIM1&TIM8)
Bits 2:0 SMS: Slave mode selection
Note: The gated mode must not be used if TI1F_ED is selected as the trigger input
Slave TIM
TIM1
TIM8
1. When a timer is not present in the product, the corresponding trigger ITRx is not available.
14.4.4
TIM1&TIM8 DMA/interrupt enable register (TIMx_DIER)
Address offset: 0x0C
Reset value: 0x0000
15
14
13
TDE
COMDE CC4DE CC3DE CC2DE CC1DE
Res.
rw
rw
Bit 15 Reserved, must be kept at reset value.
Bit 14 TDE: Trigger DMA request enable
Bit 13 COMDE: COM DMA request enable
339/1128
When external signals are selected the active edge of the trigger signal (TRGI) is linked to
the polarity selected on the external input (see Input Control register and Control Register
description.
000: Slave mode disabled - if CEN = '1' then the prescaler is clocked directly by the internal
clock.
001: Encoder mode 1 - Counter counts up/down on TI2FP2 edge depending on TI1FP1
level.
010: Encoder mode 2 - Counter counts up/down on TI1FP1 edge depending on TI2FP2
level.
011: Encoder mode 3 - Counter counts up/down on both TI1FP1 and TI2FP2 edges
depending on the level of the other input.
100: Reset Mode - Rising edge of the selected trigger input (TRGI) reinitializes the counter
and generates an update of the registers.
101: Gated Mode - The counter clock is enabled when the trigger input (TRGI) is high. The
counter stops (but is not reset) as soon as the trigger becomes low. Both start and stop of
the counter are controlled.
110: Trigger Mode - The counter starts at a rising edge of the trigger TRGI (but it is not
reset). Only the start of the counter is controlled.
111: External Clock Mode 1 - Rising edges of the selected trigger (TRGI) clock the counter.
(TS='100'). Indeed, TI1F_ED outputs 1 pulse for each transition on TI1F, whereas the
gated mode checks the level of the trigger signal.

Table 82. TIMx Internal trigger connection

ITR0 (TS = 000)
TIM5
TIM1
12
11
10
9
rw
rw
rw
rw
0: Trigger DMA request disabled
1: Trigger DMA request enabled
0: COM DMA request disabled
1: COM DMA request enabled
ITR1 (TS = 001)
TIM2
TIM2
8
7
6
UDE
BIE
TIE
rw
rw
rw
DocID13902 Rev 15
(1)
ITR2 (TS = 010)
TIM3
TIM4
5
4
3
COMIE CC4IE
CC3IE
CC2IE
rw
rw
rw
rw
RM0008
ITR3 (TS = 011)
TIM4
TIM5
2
1
0
CC1IE
UIE
rw
rw

Advertisement

Table of Contents
loading
Need help?

Need help?

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

Questions and answers

This manual is also suitable for:

Stm32f107 seriesStm32f102 seriesStm32f103 seriesStm32f105 seriesStm32f101 series

Table of Contents