
AT32F413
Series Reference Manual
2022.06.27
Page 239
Rev 2.00
14.3.4.3 TMR1 and TMR8 slave timer control register (TMRx_ST CTRL)
Bit
Register
Reset value
Type
Description
Bit 15
ESP
0x0
rw
External signal polarity
0: High or rising edge
1: Low or falling edge
Bit 14
ECMBEN
0x0
rw
External clock mode B enable
This bit is used to enable external clock mode B
0: Disabled
1: Enabled
Bit 13: 12 ESDIV
0x0
rw
External signal divide
This field is used to select the frequency division of an
external trigger
00: Normal
01: Divided by 2
10: Divided by 4
11: Divided by 8
Bit 11: 8
ESF
0x0
rw
External signal filter
This field is used to filter an external signal. The external
signal can be sampled only after it has been generated N
times
0000: No filter, sampling by
f
𝐷𝑇𝑆
0001:
f
𝑆𝐴𝑀𝑃𝐿𝐼𝑁𝐺
=
f
𝐶𝐾_𝐼𝑁𝑇
, N=2
0010:
f
𝑆𝐴𝑀𝑃𝐿𝐼𝑁𝐺
=
f
𝐶𝐾_𝐼𝑁𝑇
, N=4
0011:
f
𝑆𝐴𝑀𝑃𝐿𝐼𝑁𝐺
=
f
𝐶𝐾_𝐼𝑁𝑇
, N=8
0100:
f
𝑆𝐴𝑀𝑃𝐿𝐼𝑁𝐺
=
f
𝐷𝑇𝑆
/2, N=6
0101:
f
𝑆𝐴𝑀𝑃𝐿𝐼𝑁𝐺
=
f
𝐷𝑇𝑆
/2, N=8
0110:
f
𝑆𝐴𝑀𝑃𝐿𝐼𝑁𝐺
=
f
𝐷𝑇𝑆
/4, N=6
0111:
f
𝑆𝐴𝑀𝑃𝐿𝐼𝑁𝐺
=
f
𝐷𝑇𝑆
/4, N=8
1000:
f
𝑆𝐴𝑀𝑃𝐿𝐼𝑁𝐺
=
f
𝐷𝑇𝑆
/8, N=6
1001:
f
𝑆𝐴𝑀𝑃𝐿𝐼𝑁𝐺
=
f
𝐷𝑇𝑆
/8, N=8
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.