GD32A50x User Manual
424
Figure 18-45.
Timing chart of up counting mode, PSC=0/2
CEN
PSC_CLK
CNT_REG
94
95
96
97
98
99
0
1
2
3
4
5
6
7
Update event (UPE)
Update interrupt flag (UPIF)
CNT_REG
96
Update event (UPE)
Update interrupt flag (UPIF)
Hardware set
Software clear
Hardware set
PSC = 0
PSC = 2
TIMER_CK
8
PSC_CLK
97
98
99
0
1
Figure 18-46.
Timing chart of up counting, change TIMERx_CAR on the go
TIMER_CK
CEN
PSC_CLK
CNT_REG
94
95
96
97
98
99
0
1
2
3
4
5
6
7
Update event (UPE)
Update interrupt flag (UPIF)
Auto-reload register
120
99
change CAR Vaule
CNT_REG
113
114 115 116 117 118 119 120
0
1
2
98
99
0
Update event (UPE)
Update interrupt flag (UPIF)
Auto-reload register
120
99
change CAR Vaule
120
99
Auto-reload shadow register
...
Hardware set
Hardware set
Software clear
Hardware set
ARSE = 0
ARSE = 1