
AT32F413
Series Reference Manual
2022.06.27
Page 197
Rev 2.00
1010:
f
𝑆𝐴𝑀𝑃𝐿𝐼𝑁𝐺
=
f
𝐷𝑇𝑆
/16, N=5
1011:
f
𝑆𝐴𝑀𝑃𝐿𝐼𝑁𝐺
=
f
𝐷𝑇𝑆
/16, N=6
1100:
f
𝑆𝐴𝑀𝑃𝐿𝐼𝑁𝐺
=
f
𝐷𝑇𝑆
/16, N=8
1101:
f
𝑆𝐴𝑀𝑃𝐿𝐼𝑁𝐺
=
f
𝐷𝑇𝑆
/32, N=5
1110:
f
𝑆𝐴𝑀𝑃𝐿𝐼𝑁𝐺
=
f
𝐷𝑇𝑆
/32, N=6
1111:
f
𝑆𝐴𝑀𝑃𝐿𝐼𝑁𝐺
=
f
𝐷𝑇𝑆
/32, N=8
Bit 7
STS
0x0
rw
Subordinate TMR synchronization
If enabled, master and slave timer can be synchronized.
0: Disabled
1: Enabled
Bit 6: 4
STIS
0x0
rw
Subordinate TMR input selection
This field is used to select the subordinate TMR input.
000: Internal selection 0 (IS0)
001: Internal selection 1 (IS1)
010: Internal selection 2 (IS2)
011: Internal selection 3 (IS3)
100: C1IRAW input detector (C1INC)
101: Filtered input 1 (C1IF1)
110: Filtered input 2 (C1IF2)
111: External input (EXT)
Pleaser refer to Table 14-3 and 14-5 for more information
on ISx for each timer.
Bit 3
Reserved
0x0
resd
Kept at its default value
Bit 2: 0
SMSEL
0x0
rw
Subordinate TMR mode selection
000: Slave mode is disabled
001: Encoder mode A
010: Encoder mode B
011: Encoder mode C
100: Reset mode
—
Rising edge of the TRGIN input
reinitializes the counter
101: Suspend mode — The counter starts counting when
the TRGIN is high
110: Trigger mode — A trigger event is generated at the
rising edge of the TRGIN input
111: External clock mode A
—
Rising edge of the TRGIN
input clocks the counter
Note: Please refer to count mode section for the details on
encoder mode A/B/C.
14.1.4.4 DMA/interrupt enable register (TMRx_IDEN)
Bit
Register
Reset value
Type
Description
Bit 15
Reserved
0x0
resd
Kept at its default value
Bit 14
TDEN
0x0
rw
Trigger DMA request enable
0: Disabled
1: Enabled
Bit 13
Reserved
0x0
resd
Kept at its default value
Bit 12
C4DEN
0x0
rw
Channel 4 DMA request enable
0: Disabled
1: Enabled
Bit 11
C3DEN
0x0
rw
Channel 3 DMA request enable
0: Disabled
1: Enabled
。
Bit 10
C2DEN
0x0
rw
Channel 2 DMA request enable
0: Disabled