![GigaDevice Semiconductor GD32E23 Series User Manual Download Page 267](http://html.mh-extra.com/html/gigadevice-semiconductor/gd32e23-series/gd32e23-series_user-manual_2225794267.webp)
GD32E23x User Manual
267
4’b0010
4
4’b0011
8
4’b0100
6
f
DTS_CK
/2
4’b0101
8
4’b0110
6
f
DTS_CK
/4
4’b0111
8
4’b1000
6
f
DTS_CK
/8
4’b1001
8
4’b1010
5
f
DTS_CK
/16
4’b1011
6
4’b1100
8
4’b1101
5
f
DTS_CK
/32
4’b1110
6
4’b1111
8
7
MSM
Master-slave mode
This bit can be used to synchronize selected timers to begin counting at the same
time. The TRGI is used as the start event, and through TRGO, timers are
connected together.
0: Master-slave mode disable
1: Master-slave mode enable
6:4
TRGS[2:0]
Trigger selection
This bit-field specifies which signal is selected as the trigger input, which is used to
synchronize the counter.
000: ITI0
001: ITI1
010: ITI2
011: ITI3
100: CI0F_ED
101: CI0FE0
110: CI1FE1
111: ETIFP
These bits must not be changed when slave mode is enabled.
3
OCRC
OCPRE clear source selection
0: OCPRE_CLR_INT is connected to the OCPRE_CLR input
1: OCPRE_CLR_INT is connected to ETIF
2:0
SMC[2:0]
Slave mode control
000: Disable mode. The slave mode is disabled; The prescaler is clocked directly
by the internal clock (TIMER_CK) when CEN bit is set high.
001: Quadrature decoder mode 0.The counter counts on CI1FE1 edge, while the
direction depends on CI0FE0 level.
010: Quadrature decoder mode 1.The counter counts on CI0FE0 edge, while the
direction depends on CI1FE1 level.