
NUC970 Technical Reference Manual
Publication Release Date: Dec. 15, 2015
- 339 -
Revision V1.30
NUC97
0
T
E
CHNIC
A
L
RE
F
E
RE
N
CE
MA
NUA
L
Bits
Description
[7]
ETMR_ACT
Timer Active Status Bit (Read Only)
This bit indicates the timer counter status of timer.
0 = Timer is not active.
1 = Timer is in active.
[6]
Reserved
Reserved.
[5:4]
MODE_SEL
Timer Operating Mode Select
MODE_SEL
Timer Operating Mode
00
The timer is operating in the one-shot mode.
In this mode, the associated interrupt signal is generated (if
ETMR_IER [ETMR_IE] is enabled) once the value of 24-bit up
counter equals the ETMRn_CMPR. And ETMR_CTL [ETMR_EN]
is automatically cleared by hardware.
01
The timer is operating in the periodic mode.
In this mode, the associated interrupt signal is generated
periodically (if ETMR_IER [ETMR_IE] is enabled) while the value
of 24-bit up counter equals the ETMRn_CMPR. After that, the 24-
bit counter will be reset and starts counting from zero again.
10
The timer is operating in the periodic mode with output
toggling.
In this mode, the associated interrupt signal is generated
periodically (if ETMR_IER [ETMR_IE] is enabled) while the value
of 24-bit up counter equals the ETMRn_CMPR. After that, the 24-
bit counter will be reset and starts counting from zero again.
At the same time, timer controller will also toggle the output pin
ETMRn_TOG_OUT to its inverse level (from low to high or from
high to low).
Note:
The default level of ETMRn_TOG_OUT after reset is low.
11
The timer is operating in continuous counting mode.
In this mode, the associated interrupt signal is generated when
ETMR_DR = ETMR_CMPR (if ETMR_IER [ETMR_IE] is
enabled). However, the 24-bit up-counter counts continuously
without reset.
[3]
DBGACK_EN
ICE Debug Mode Acknowledge Ineffective Enable
0 = ICE debug mode acknowledgement effects TIMER counting and TIMER counter will
be held while ICE debug mode acknowledged.
1 = ICE debug mode acknowledgement is ineffective and TIMER counter will keep going
no matter ICE debug mode acknowledged or not.
[2]
WAKE_EN
Wake-up Enable
When WAKE_EN is set and the ETMR_IS or TCAP_IS is set, the timer controller will
generate a wake-up trigger event to CPU.
0 = Wake-up trigger event Disabled.
1 = Wake-up trigger event Enabled.