GD32F20x User Manual
408
11: ETI frequency will be divided by 8
11:8
ETFC[3:0]
External trigger filter control
An event counter is used in the digital filter, in which a transition on the output
occurs after N input events. This bit-field specifies the frequency used to sample
ETI signal and the length of the digital filter applied to ETI.
0000: Filter disabled. f
SAMP
= f
DTS
, N=1.
0001: f
SAMP
= f
TIMER_CK
, N=2.
0010: f
SAMP
= f
TIMER_CK
, N=4.
0011: f
SAMP
= f
TIMER_CK
, N=8.
0100: f
SAMP
=f
DTS
/2, N=6.
0101: f
SAMP
=f
DTS
/2, N=8.
0110: f
SAMP
=f
DTS
/4, N=6.
0111: f
SAMP
=f
DTS
/4, N=8.
1000: f
SAMP
=f
DTS
/8, N=6.
1001: f
SAMP
=f
DTS
/8, N=8.
1010: f
SAMP
=f
DTS
/16, N=5.
1011: f
SAMP
=f
DTS
/16, N=6.
1100: f
SAMP
=f
DTS
/16, N=8.
1101: f
SAMP
=f
DTS
/32, N=5.
1110: f
SAMP
=f
DTS
/32, N=6.
1111: f
SAMP
=f
DTS
/32, N=8.
7
MSM
Master-slave mode
This bit can be used to synchronize selected timers to begin counting at the same
time. The TRGI is used as the start event, and through TRGO, timers are
connected together.
0: Master-slave mode disable
1: Master-slave mode enable
6:4
TRGS[2:0]
Trigger selection
This bit-field specifies which signal is selected as the trigger input, which is used to
synchronize the counter.
000: Internal trigger input 0 (ITI0)
001: Internal trigger input 1 (ITI1)
010: Internal trigger input 2 (ITI2)
011: Internal trigger input 3 (ITI3)
100: CI0 edge flag (CI0F_ED)
101: channel 0 input Filtered output (CI0FE0)
110: channel 1 input Filtered output (CI1FE1)
111: External trigger input filter output(ETIFP)
These bits must not be changed when slave mode is enabled.
Timer 1 Internal trigger input source 1 is decided by TIMER1ITR0_REMAP
.
3
Reserved
Must be kept at reset value.
Содержание GD32F20 Series
Страница 1: ...GigaDevice Semiconductor Inc GD32F20x ARM Cortex M3 32 bit MCU User Manual Revision 2 2 Oct 2019 ...
Страница 191: ...GD32F20x User Manual 191 Bits Fields Descriptions 31 0 TRNDATA 31 0 32 Bit Random data ...
Страница 290: ...GD32F20x User Manual 290 conversion is ongoing ...
Страница 325: ...GD32F20x User Manual 325 15 0 ALRM 15 0 RTC alarm value low ...
Страница 385: ...GD32F20x User Manual 385 ...
Страница 523: ...GD32F20x User Manual 523 clears AERR bit by writing 0 to it ...