GD32W51x User Manual
471
Figure 17-27. Single pulse mode TIMERx_CHxCV = 0x04 TIMERx_CAR=0x60
TIMER_CK(CNT_CLK)
CEN
CNT_REG
00
01
02
03
04
05
.
5F
60
00
O2CPRE
CI3
Under SPM, counter stop
Timers interconnection
The timers can be internally connected together for timer chaining or synchronization. This
can be implemented by configuring one timer to operate in the master mode while configuring
another timer to be in the slave mode. The following figures present several examples of
trigger selection for the master and slave modes.
Figure 17-28. Timer0 master/slave mode example
shows the timer0 trigger selection when
it is configured in slave mode.
Figure 17-28. Timer0 master/slave mode example
TIMER0
TIMER 1
Pre scaler
Counter
Master
mode
control
TIMER 2
Pre scaler
Counter
Master
mode
control
Trigger
selection
ITI1
ITI2
CI0F_ED
CI0FE0
CI1FE1
ETIFP
TRGS
Slave mode
control
Pre scaler
Counter
TRG O
TRG O
Other interconnection examples:
TIMER2 as the prescaler for TIMER0