261 / 701
Nations Technologies Inc.
Tel:+86-755-86309900
Email:info@nationstech.com
Address: Nations Tower, #109 Baoshen Road, Hi-tech Park North.
Nanshan District, Shenzhen, 518057, P.R.China
Alternatively, an update event can also be generated by setting the TIMx_EVTGEN. UDGN bit (either by software
or using a slave mode controller). In this case, the counter restarts from 0, as does the prescaler's counter.
Please note: if the update source is a counter overflow, auto-reload update before reloading the counter.
Figure 11-6 Timing diagram of the Center-aligned, internal clock divided factor =2/N
Figure 11-7 A center-aligned sequence diagram that includes counter overflows and underflows (ARPEN = 1)
CK_PSC
CNTEN
Timer clock = CK_CNT
Counter register
Update event(UEV)
0003
0002
Counter underflow
Update interrupt flag(UDITF)
0001 0000 0001 0002 0003
CK_PSC
Timer clock = CK_CNT
Counter register
Update event(UEV)
1F20
01 00
Counter underflow
Update interrupt flag(UDITF)
Internal clock
divided by 2
Internal clock divided
by N