
AT32F413
Series Reference Manual
2022.06.27
Page 194
Rev 2.00
Figure 14-26 Starting master and slave timers synchronously by an external trigger
COUNTER
PR[15:0]
TMREN
TMR_CLK
0
DIV[15:0]
32
22
PR[15:0]
TRGIN
1
...
21
22
0
1
2
3
...
21
COUNTER
0
1
2
3
22
0
0
DIV[15:0]
TMR_CLK
Master
TMR
Slave
TMR
1
...
31
32
0
1
2
3
...
31
0
1
2
3
32
0
TMR_EN
14.1.3.6 Debug mode
When the microcontroller enters debug mode (Cortex
TM
-M4F core halted), the TMRx counter stops
counting by setting the TMRx_PAUSE in the DEBUG module.
14.1.4 TMRx registers
These peripheral registers must be accessed by word (32 bits).
All TMRx register are mapped into a 16-bit addressable space.
Table 14-4
TMRx register map and reset value
Register
Offset
Reset value
TMRx_CTRL1
0x00
0x0000
TMRx_CTRL2
0x04
0x0000
TMRx_STCTRL
0x08
0x0000
TMRx_IDEN
0x0C
0x0000
TMRx_ISTS
0x10
0x0000
TMRx_SWEVT
0x14
0x0000
TMRx_CM1
0x18
0x0000
TMRx_CM2
0x1C
0x0000
TMRx_CCTRL
0x20
0x0000
TMRx_CVAL
0x24
0x0000 0000
TMRx_DIV
0x28
0x0000
TMRx_PR
0x2C
0x0000 0000
TMRx_C1DT
0x34
0x0000 0000
TMRx_C2DT
0x38
0x0000 0000
TMRx_C3DT
0x3C
0x0000 0000
TMRx_C4DT
0x40
0x0000 0000
TMRx_DMACTRL
0x48
0x0000
TMRx_DMADT
0x4C
0x0000