![GigaDevice Semiconductor GD32F10 Series Скачать руководство пользователя страница 277](http://html.mh-extra.com/html/gigadevice-semiconductor/gd32f10-series/gd32f10-series_user-manual_2225800277.webp)
GD32F10x User Manual
277
The new written CREP value will not take effect until the next update event. When the value
of CREP is odd, and the counter is counting in center-aligned mode, the update event is
generated (on overflow or underflow) depending on when the written CREP value takes 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 15-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 15-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
Содержание GD32F10 Series
Страница 1: ...GigaDevice Semiconductor Inc GD32F10x Arm Cortex M3 32 bit MCU User Manual Revision 2 6 Jun 2022 ...
Страница 63: ...GD32F10x User Manual 63 programmed during the chip production ...
Страница 117: ...GD32F10x User Manual 117 010 1 0 011 0 9 ...
Страница 416: ...GD32F10x User Manual 416 shadow register updates every update event ...
Страница 427: ...GD32F10x User Manual 427 value ...
Страница 518: ...GD32F10x User Manual 518 These bits are not used in SPI mode ...