![GigaDevice Semiconductor GD32E23 Series Скачать руководство пользователя страница 242](http://html.mh-extra.com/html/gigadevice-semiconductor/gd32e23-series/gd32e23-series_user-manual_2225794242.webp)
GD32E23x User Manual
242
effect. If an update event is generated by software after writing an odd number to CREP, the
update events will be generated on the underflow.
If the next update event occurs on
overflow after writing an odd number to CREP, then the subsequent update events will be
generated on the overflow.
Figure 14-9.
Repetition counter timing chart of center-aligned counting mode
CEN
3
2
1
0
1
2
.
98
99
98
2
1
0
Underflow
Overflow
TIMERx_CREP = 0x0
TIMER_CK
1
2
.
98
99
98
2
UPIF
TIMERx_CREP = 0x1
1
0
1
2
98
99
98
97
UPIF
UPIF
TIMERx_CREP = 0x2
PSC_CLK
Figure 14-10.
Repetition counter timing chart of up counting mode
CEN
CNT_REG
96
97 98 99 0
1
98 99 0
1
98 99
Underflow
Overflow
TIMERx_CREP = 0x0
TIMER_CK
0
1
98 99
0
1
UPIF
TIMERx_CREP = 0x1
98 99
0
1
98 99
0
1
UPIF
UPIF
TIMERx_CREP = 0x2
PSC_CLK