GD32VF103 User Manual
246
Mode Selection
Source Selection
Polarity Selection
Filter and Prescaler
110: CI1FE1
111: ETIFP
If ETIFP is selected as
the trigger source,
configure the ETP for
polarity selection and
inversion.
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.
Figure 15-24. Restart mode
TIMER_CK
CEN
CNT_REG
5E
5F
60
61
62
63
00
01
02
03
04
00
01
02
UPIF
ITI0
TRGIF
Internal sync delay
Exam2
Pause mode
The counter will be
paused when the
trigger input is low,
and it will start when
the trigger input is
high.
TRGS[2:0]=3’b101
CI0FE0 is selected.
TI0S=0 (Non-xor)
[CH0NP=0, CH0P=0]
CI0FE0 does not
invert. The capture
event will occur on the
rising edge only.
Filter is bypassed in this
example.
Figure 15-25. Pause mode
TIMER_CK
CEN
CNT_REG
5E
5F
60
61
62
CI0
TRGIF
CI0FE0
63