Nations Technologies Inc.
Tel
:
+86-755-86309900
:
info@nationstech.com
Address: Nations Tower, #109 Baoshen Road, Hi-tech Park North.
Nanshan District, Shenzhen, 518057, P.R.China
170
/
631
Clock selection
The internal clock of Advanced-control timers
:
CK_INT
Two kinds of external clock mode :
external input pin
external trigger input ETR
Internal trigger input (ITRx): one timer is used as a prescaler for another timer.
Internal clock source (CK_INT)
When the TIMx_SMCTRL.SMSEL is equal to “000”, the slave mode controller is disabled. The three control bits
(TIMx_CTRL1.CNTEN
、
TIMx_CTRL1. DIR
、
TIMx_EVTGEN. UDGN) can only be changed by software (except
TIMx_EVTGEN. UDGN, which remains cleared automatically ). It is provided that the TIMx_CTRL1.CNTEN bit is
written as' 1 ' by soft, the clock source of the prescaler is provided by the internal clock CK_INT.
Figure 10-11 Control circuit in normal mode, internal clock divided by 1
Counter clock = CK_CNT=CK_PSC
Internal clock
CEN=CNTEN
Counter register
CNT_INIT
62
61
63 64 65 66 00 01 02 03 04 05 06 07
UDGN