
CH32V003
Reference Manual
V1.3
122
011: comparison pulse that triggers the output to send a
positive pulse (TRGO) when a capture or a successful
comparison occurs, when the CC1IF flag is to be set
(even if itis already high).
100: The OC1REF signal is used as a trigger output
(TRGO.
101: The OC2REF signal is used as a trigger output
(TRGO).
110: The OC3REF signal is used as a trigger output
(TRGO).
111: The OC4REF signal is used as a trigger output
(TRGO).
3
CCDS
RW
1: Sending a DMA request for CHxCVR when an
update event occurs.
0: Generate a DMA request for CHxCVR when
CHxCVR occurs.
0
[2:0]
Reserved
RO Reserved
0
11.4.3 Slave mode control register (TIM2_SMCFGR)
Offset address: 0x08
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
ETP ECE ETPS[1:0]
ETF[3:0]
MSM
TS[2:0]
Reserved
SMS[2:0]
Bit
Name
Access
Description
Reset
value
15
ETP
RO
ETR trigger polarity selection, this bit selects whether
to input ETR directly or to input the inverse of ETR.
1: Invert ETR, active low or falling edge.
0: ETR, active high or rising edge.
0
14
ECE
RW
External clock mode 2 enabled selection.
1: Enables external clock mode 2.
0: Disable external clock mode 2.
Note 1: Slave mode can be used simultaneously with
external clock mode 2: reset mode, gated mode and
trigger mode; however, TRGI cannot be connected to
ETRF in this case (TS bit cannot be 111b).
Note 2: When both external clock mode 1 and external
clock mode 2 are enabled, the external clock input is
ETRF.
0
[13:12] ETPS
RW
The external trigger signal (ETRP) is divided into
frequencies, and the maximum frequency of this signal
cannot exceed is 1/4 of the TIMxCLK frequency, which
can be downconverted by this domain.
00: Prescaler off.
01: ETRP frequency divided by 2.
10: ETRP frequency divided by 4.
11: ETRP frequency divided by 8.
0
[11:8] ETF
RW
Externally triggered filtering, in fact, the digital filter is
an event counter that uses a certain sampling frequency
to generate a jump in the output after N events are
recorded.
0000: no filter, sampled in Fdts.
0001: sampling frequency Fsampling=Fck_int,N=2.
0010: sampling frequency Fsampling=Fck_int, N=4.
0011: Sampling frequency Fsampling=Fck_int, N=8.
0100: sampling frequency Fsampling = Fdts/2, N = 6.
0101: sampling frequency Fsampling = Fdts/2, N = 8.
0