GD32W51x User Manual
518
counting
CI0FE0=Low
-
-
Dow n
Up
CI0 and CI1
counting
CI1FE1=High
Dow n
Up
X
X
CI1FE1=Low
Up
Dow n
X
X
CI0FE0=High
X
X
Up
Dow n
CI0FE0=Low
X
X
Dow n
Up
Note:
"-" means "no counting"; "X" means impossible.
Figure 17-47. Example of counter operation in encoder interface mode
CI0
CI1
UP
down
Counter
Figure 17-48. Example of encoder interface mode with CI0FE0 polarity inverted
CI0
CI1
UP
down
Counter
Hall sensor function
Refer to
.
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.