NuMicro® NUC029LEE/NUC029SEE
32-bit Arm
®
Cortex
®
-M0 Microcontroller
Aug, 2018
Page
234
of
497
Rev 1.00
N
U
MICRO
®
N
UC02
9L
E
E
/N
UC029
S
E
E
T
E
CHN
ICA
L R
E
F
E
R
E
NC
E
M
A
NU
A
L
6.8.3 Block Diagram
The Timer Controller block diagram and clock control are shown as follows.
Timer
interrupt
TM0-
TM3
Internal 24-bit
up-counter
8-bit
pre-scale
0
1
CTB
(TCSR[24])
TMRx_CLK
CEN (TCSR[30])
CRST (TCSR[26])
0
1
TX_PHASE
(TEXCON[0])
Reset counter
24-bit TDR
(TDR[23:0])
24-bit TCMPR[23:0]
+
-
=
TIF
(TISR[0])
Reset counter
TDR_EN
(TCSR[16])
Load
24-bit TCAP
(TCAP[23:0])
00
01
10
TM0_EXT
-
TM3_EXT
TEX_EDGE
(TEXCON[2:1])
TEXEN
(TEXCON[3])
RSTCAPSEL
(TEXCON[4])
TEXIF
(TEXISR[0])
TEXIEN (TEXCON[5])
Load
TWF
(TISR[1])
IE
(TCSR[29])
Timer
wakeup
WAKE_EN
(TCSR[23])
0
1
Figure 6.8-1 Timer Controller Block Diagram