GD32F10x User Manual
338
Quadrature decoder
Refer to
Hall sensor function
Refer to
Master-slave management
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 15-7.
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
101: CI0FE0
110: CI1FE1
111: ETIFP
If CI0FE0 or CI1FE1 is
selected as the trigger
source, configure the
CHxP and CHxNP for
the polarity selection
and inversion.
If ETIFP is selected as
the trigger source,
configure the ETP for
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
prescaler can be
used.
For the ETIFP, filter
can be used by
configuring ETFC and
prescaler can be used
by configuring ETPSC.
Exam1
Restart mode
The counter will be
cleared and restart
when a rising edge of
trigger input comes.
TRGS[2:0] = 3’b000
ITI0 is selected.
For ITI0, no polarity
selector can be used.
For the ITI0, no filter
and prescaler can be
used.
Summary of Contents for GD32F10 Series
Page 63: ...GD32F10x User Manual 63 programmed during the chip production ...
Page 117: ...GD32F10x User Manual 117 010 1 0 011 0 9 ...
Page 416: ...GD32F10x User Manual 416 shadow register updates every update event ...
Page 427: ...GD32F10x User Manual 427 value ...
Page 518: ...GD32F10x User Manual 518 These bits are not used in SPI mode ...