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
235
/
631
Figure 11-7 A center-aligned sequence diagram that includes counter overflows and underflows (ARPEN = 1)
Clock selection
The internal clock of timers
:
CK_INT
Two kinds of external clock mode :
CK_PSC
CNTEN
Timer clock = CK_CNT
Counter register
Update event
(
UEV
)
05
06
04 03 02 01 00 01 02 03 04 05 06 07
Counter underflow
Update interrupt flag(UDITF)
Auto-reload preload register
FD
36
Write a new value in TIMx_AR
Auto-reload active register
FD
36
Counter register
Update event
(
UEV
)
F8
F7
F9 FA FB FC 36 35 34 33 32 31 30 2F
Counter overflow
Update interrupt flag(UDITF)
Auto-reload preload register
FD
36
Write a new value in TIMx_AR
Auto-reload active register
FD
36
Counter
underflow
Counter
overflow
CK_PSC
CNTEN