GD32W51x User Manual
519
Table 17-6. 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.
Exam 1
Restart m ode
The counter w ill be
cleared and restart
w hen 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 17-49. Restart m ode
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
Exam 2
Pause m ode
The counter w ill be
paused w hen the
trigger input is low ,
and it w ill start w hen
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 w ill occur on the
rising edge only.
Filter is bypassed in
this example.
Содержание GD32W515 Series
Страница 1: ...GigaDevice Semiconductor Inc GD32W51x Arm Cortex M33 32 bit MCU User Manual Revision 1 0 Nov 2021 ...
Страница 66: ...GD32W51x User Manual 66 Bits Fields Descriptions 31 0 UNIQUE_ID 95 64 Unique device ID ...
Страница 389: ...GD32W51x User Manual 389 The FWDGT timeout can be more accurate by calibrating the IRC32K ...
Страница 504: ...GD32W51x User Manual 504 ...
Страница 710: ...GD32W51x User Manual 710 ...