Nations Technologies Inc.
Tel
:
+86-755-86309900
:
Address: Nations Tower, #109 Baoshen Road, Hi-tech Park North.
Nanshan District, Shenzhen, 518057, P.R.China
264
/
631
Bit field
Name
Description
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
current timer (via TRGO) and its slaves. This is useful when several timers are required to be
synchronized to a single external event.
6:4
TSEL[2:0]
Trigger selection
These 3 bits are used to select the trigger input of the synchronous counter.
000: Internal trigger 0 (ITR0) 100: TI1 edge detector (TI1F_ED)
001: Internal trigger 1 (ITR1) 101: Filtered timer input 1 (TI1FP1)
010: Internal trigger 2 (ITR2) 110: Filtered timer input 2 (TI2FP2)
011: Internal trigger 3 (ITR3) 111: External triggered Input (ETRF)
Note: These bits must be changed only when not in use (e. g. TIMx_SMCTRL.SMSEL=000) to
avoid false edge detection at the transition.
3
Reserved
Reserved, the reset value must be maintained
2:0
SMSEL[2:0]
Slave mode selection