AT32F425
Series Reference Manual
2022.03.30
Page 204
Ver 2.01
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.2.4.4 TMR2 and TMR3 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
1: Enabled
Bit 9
C1DEN
0x0
rw
Channel 1 DMA request enable
0: Disabled
1: Enabled
Bit 8
OVFDEN
0x0
rw
Overflow event DMA request enable
0: Disabled
1: Enabled
Bit 7
Reserved
0x0
resd
Kept at its default value
Bit 6
TIEN
0x0
rw
Trigger interrupt enable
0: Disabled
1: Enabled
Bit 5
Reserved
0x0
resd
Kept at its default value
Bit 4
C4IEN
0x0
rw
Channel 4 interrupt enable
0: Disabled
1: Enabled
Bit 3
C3IEN
0x0
rw
Channel 3 interrupt enable
0: Disabled
1: Enabled