GD32W51x User Manual
468
Figure 17-23. Hall sensor timing between two timers
CH0VAL
Counter
CI0(OXR)
CH0_INPUT
CH1_INPUT
CH2_INPUT
CH0_O
CH0_ON
CH1_O
CH1_ON
CH2_O
CH2_ON
Va
Va
Vb
Vb
Vc
Vc
Advanced/General L0 TIMER_in under input capture mode
Advanced TIMER_out under output compare mode(PWM with Dead -time)
Slave controller
The TIMERx can be synchronized with a trigger in several modes including the restart mode,
the pause mode and the event mode which is selected by the SMC [2:0] in the
TIMERx_SMCFG register. The trigger input of these modes can be selected by the TRGS
[2:0] in the TIMERx_SMCFG register.
Table 17-4. Examples of slave mode
Mode Selection
Source Selection
Polarity Selection
Filter and Prescaler
LIST
SMC[2:0]
3'b100 (restart mode)
3'b101 (pause mode)
3'b110 (event mode)
TRGS[2:0]
000: ITI0
001: ITI1
010: ITI2
011: ITI3
100: CI0F_ED
If CI0FE0 or CI1FE1 is
selected as the trigger
source, configure the
CHxP and CHxNP for
the polarity selection
and inversion.
For the ITIx, no filter
and prescaler can be
used.
For the CIx, filter can
be used by configuring
CHxCAPFLT, no