310
/
838
Nations Technologies Inc.
Tel
:
+86-755-86309900
:
Address: Nations Tower, #109 Baoshen Road, Hi-tech Park North.
Nanshan District, Shenzhen, 518057, P.R.China
Bit field
Name
Description
This bit is used to enable external clock mode 2, and the counter is driven by any active edge on the
ETRF signal in this mode.
0: External clock mode 2 disable.
1: External clock mode 2 enable.
Note 1: When external clock mode 1 and external clock mode 2 are enabled at the same time, the
input of the external clock is ETRF.
Note 2: The following slave modes can be used simultaneously with external clock mode 2: reset
mode, gated mode and trigger mode; However, TRGI cannot connect to ETRF
(TIMx_SMCTRL.TSEL ≠ '111').
Note 3: Setting the TIMx_SMCTRL.EXCEN bit has the same effect as selecting external clock mode
1 and connecting TRGI to ETRF (TIMx_SMCTRL.SMSEL = 111 and TIMx_SMCTRL.TSEL = 111).
13:12
EXTPS[1:0]
External trigger prescaler
The frequency of the external trigger signal ETRP must be at most 1/4 of TIMxCLK frequency.
When a faster external clock is input, a prescaler can be used to reduce the frequency of ETRP.
00: Prescaler disable
01: ETRP frequency divided by 2
10: ETRP frequency divided by 4
11: ETRP frequency divided by 8
11:8
EXTF[3:0]
External trigger filter
These bits are used to define the frequency at which the ETRP signal is sampled and the bandwidth
of the ETRP digital filtering. In effect, the digital filter is an event counter that generates a validate
output after consecutive N events are recorded.
0000: No filter, sampling at f
DTS
0001: f
SAMPLING
= f
CK_INT
, N = 2
0010: f
SAMPLING
= f
CK_INT
, N = 4
0011: f
SAMPLING
= f
CK_INT
, N = 8
0100: f
SAMPLING
= f
DTS
/2, N = 6
0101: f
SAMPLING
= f
DTS
/2, N = 8
0110: f
SAMPLING
= f
DTS
/4, N = 6
0111: f
SAMPLING
= f
DTS
/4, N = 8
1000: f
SAMPLING
= f
DTS
/8, N = 6
1001: f
SAMPLING
= f
DTS
/8, N = 8
1010: f
SAMPLING
= f
DTS
/16, N = 5
1011: f
SAMPLING
= f
DTS
/16, N = 6
1100: f
SAMPLING
= f
DTS
/16, N = 8
1101: f
SAMPLING
= f
DTS
/32, N = 5
1110: f
SAMPLING
= f
DTS
/32, N = 6
1111: f
SAMPLING
= f
DTS
/32, N = 8
7
MSMD
Master/ Slave mode
0: No action
1: Events on the trigger input (TRGI) are delayed to allow a perfect synchronization between the