
NUC126
Aug. 08, 2018
Page
667
of 943
Rev 1.03
NUC12
6 S
E
RI
E
S
T
E
CH
NI
CA
L R
E
F
E
RE
NCE
MA
NUA
L
Timer External Control Register (TIMERx_EXTCTL)
Register
Offset
R/W
Description
Reset Value
TIMER0_EXT
CTL
T0x14 R/W
Timer0 External Control Register
0x0000_0000
TIMER1_EXT
CTL
T0x114 R/W
Timer1 External Control Register
0x0000_0000
TIMER2_EXT
CTL
T0x14 R/W
Timer2 External Control Register
0x0000_0000
TIMER3_EXT
CTL
T0x114 R/W
Timer3 External Control Register
0x0000_0000
31
30
29
28
27
26
25
24
Reserved
23
22
21
20
19
18
17
16
Reserved
ECNTSSEL
15
14
13
12
11
10
9
8
Reserved
CAPEDGE
Reserved
ACMPSSEL
7
6
5
4
3
2
1
0
CNTDBEN
CAPDBEN
CAPIEN
CAPFUNCS
CAPEN
Reserved
CNTPHASE
Bits
Description
[31:17]
Reserved
Reserved.
[16]
ECNTSSEL
Event Counter Source Selection to Trigger Event Counter Function
0 = Event Counter input source is from Tx (x= 0~3) pin.
1 = Event Counter input source is from USB internal SOF output signal.
[15]
Reserved
Reserved.
[14:12]
CAPEDGE
Timer External Capture Pin Edge Detect
When first capture event is generated, the CNT (TIMERx_CNT[23:0]) will be reset to 0 and
first CAPDAT (TIMERx_CAP[23:0]) should be to 0.
000 = Capture event occurred when detect falling edge transfer on Tx_EXT (x= 0~3) pin.
001 = Capture event occurred when detect rising edge transfer on Tx_EXT (x= 0~3) pin.
010 = Capture event occurred when detect both falling and rising edge transfer on Tx_EXT
(x= 0~3) pin, and first capture event occurred at falling edge transfer.
011 = Capture event occurred when detect both rising and falling edge transfer on Tx_EXT
(x= 0~3) pin, and first capture event occurred at rising edge transfer..
110 = First capture event occurred at falling edge, follows capture events are at rising
edge transfer on Tx_EXT (x= 0~3) pin.
111 = First capture event occurred at rising edge, follows capture events are at falling
edge transfer on Tx_EXT (x= 0~3) pin.
100, 101 = Reserved.
[11:9]
Reserved
Reserved.