AT32WB415
Series Reference Manual
2022.04.13
Page 190
Ver 2.00
Figure 14-41 Example of reset mode
0
1
2
3
4
5
6
7
8
9
0
1
2
3
4
5
6
7
COUNTER
30
31
32
0
...
PR[15:0]
CI1F1
TMR_CLK
0
DIV[15:0]
32
101
STIS[2
:
0]
OVFIF
TRGIF
100
SMSEL[2
:
0]
Slave mode: Suspend mode
In this mode, the counter is controlled by a selected trigger input. The counter starts counting when the
trigger input is high and stops as soon as the trigger input is low.
Figure 14-42 Example of suspend mode
0
1
2
3
4
5
6
7
8
9
COUNTER
A
B
C
D
10
PR[15:0]
TMR_CLK
0
DIV[15:0]
32
101
STIS[2
:
0]
101
SMSEL[2
:
0]
CI1F1
TMR_EN
CNT_CLK
Slave mode: Trigger mode
The counter can start counting on the rising edge of a selected trigger input (TMR_EN=1)
Figure 14-43 Example of trigger mode
0
1
2
3
4
5
COUNTER
PR[15:0]
TMR_CLK
0
DIV[15:0]
32
101
STIS[2
:
0]
110
SMSEL[2
:
0]
CI1F1
TMR_EN
6
7
9
10
A
B
...
30
31
0
1
2
3
4
8
32
OVFIF
Please refer to
Section 14.2.3.5
for more information on timer synchronization.
14.2.3.6 Debug mode
W
hen the microcontroller enters debug mode (Cortex
TM
-M4 core halted), the TMRx counter stops
counting by setting the TMRx_PAUSE in the DEBUG module.