
NUC970 Technical Reference Manual
Publication Release Date: Dec. 15, 2015
- 342 -
Revision V1.30
NUC97
0
T
E
CHNIC
A
L
RE
F
E
RE
N
CE
MA
NUA
L
Enhance Timer n Compare Register (ETMRn_CMPR)
Register
Offset
R/W
Description
Reset Value
ETMRn_CMP
R
n=0,1,2,3
E0x008 R/W
Enhance Timer n Compare Register
0x0000_0000
31
30
29
28
27
26
25
24
Reserved
23
22
21
20
19
18
17
16
ETMR_CMP
15
14
13
12
11
10
9
8
ETMR_CMP
7
6
5
4
3
2
1
0
ETMR_CMP
Bits
Description
[31:24]
Reserved
Reserved.
[23:0]
ETMR_CMP
Timer Compared Value
ETMR_CMP is a 24-bit compared register. When the internal 24-bit up-counter counts and
its value is equal to ETMR_CMP value, a Timer Interrupt is requested if the timer interrupt
is enabled with ETMR_IER [ETMR_IE] is enabled. The ETMR_CMP value defines the
timer counting cycle time.
Time-out period = (Period of timer clock input) * (8-bit PRESCA 1) * (24-bit
ETMR_CMP).
Note1:
Never write 0 or 1 in ETMR_CMP, or the core will run into unknown state.
Note2:
No matter ETMR_CTL [ETMR_EN] is 0 or 1, whenever software write a new value
into this register, TIMER will restart counting using this new value and abort previous
count.