![Nuvoton NuMicro NUC029 Series Скачать руководство пользователя страница 241](http://html1.mh-extra.com/html/nuvoton/numicro-nuc029-series/numicro-nuc029-series_technical-reference-manual_1720306241.webp)
NuMicro® NUC029LEE/NUC029SEE
32-bit Arm
®
Cortex
®
-M0 Microcontroller
Aug, 2018
Page
241
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.7 Register Description
Timer Control Register (TCSR)
Register
Offset
R/W
Description
Reset Value
TCSR0
T0x00 R/W
Timer0 Control and Status Register
0x0000_0005
TCSR1
T0x20 R/W
Timer1 Control and Status Register
0x0000_0005
TCSR2
T0x00 R/W
Timer2 Control and Status Register
0x0000_0005
TCSR3
T0x20 R/W
Timer3 Control and Status Register
0x0000_0005
31
30
29
28
27
26
25
24
DBGACK_
TMR
CEN
IE
MODE
CRST
CACT
CTB
23
22
21
20
19
18
17
16
WAKE_EN
Reserved
TDR_EN
15
14
13
12
11
10
9
8
Reserved
7
6
5
4
3
2
1
0
PRESCALE
Bits
Description
[31]
DBGACK_TMR
ICE Debug Mode Acknowledge Disable Bit (Write Protect)
0 = ICE debug mode acknowledgement effects TIMER counting.
TIMER counter will be held while CPU is held by ICE.
1 = ICE debug mode acknowledgement Disabled.
TIMER counter will keep going no matter CPU is held by ICE or not.
[30]
CEN
Timer Enable Bit
0 = Stops/Suspends counting.
1 = Starts counting.
Note1:
In stop status, and then set CEN to 1 will enable the 24-bit up counter to keep
counting from the last stop counting value.
Note2:
This bit is auto-cleared by hardware in one-shot mode (TCSR [28:27] = 00) when
the timer interrupt flag TIF (TISR[0]) is generated.
[29]
IE
Interrupt Enable Bit
0 = Timer Interrupt function Disabled.
1 = Timer Interrupt function Enabled.
If this bit is enabled, when the timer interrupt flag TIF (TISR[0]) is set to 1, the timer
interrupt signal is generated and inform to CPU.