
Mini57
Apr. 06, 2017
Page 203 of 475
Rev.1.00
MINI5
7
S
E
RI
E
S
TECH
NIC
A
L R
E
F
E
RE
N
CE
MA
N
UA
L
Timer Extended Event Control Register (TIMERx_EXTCTL)
Register
Offset
R/W
Description
Reset Value
TIMER0_EXTCTL
0x14
R/W
Timer0 Extended Event Control Register
0x0000_0000
TIMER1_EXTCTL
0x34
R/W
Timer1 Extended Event Control Register
0x0000_0000
31
30
29
28
27
26
25
24
Reserved
23
22
21
20
19
18
17
16
Reserved
15
14
13
12
11
10
9
8
Reserved
CAPMODE
7
6
5
4
3
2
1
0
ECNTDBEN
Reserved
CAPIEN
CAPFUNCS
CAPEN
CAPEDGE
CNTPHASE
Bits
Description
[31:9]
Reserved
Reserved.
[8]
CAPMODE
Capture Mode Select Bit
0 = Timer counter reset function or free-counting mode of timer capture function.
1 = Trigger-counting mode of timer capture function.
[7]
ECNTDBEN
Timer Counter Input Pin De-bounce Enable Bit
0 = TMx (x = 0~1) pin de-bounce Disabled.
1 = TMx (x = 0~1) pin de-bounce Enabled.
If this bit is enabled, the edge detection of TMx (x = 0~1) pin is detected with de-bounce
circuit.
[6]
Reserved
Reserved.
[5]
CAPIEN
Timer Capture Interrupt Enable Bit
0 = Timer Capture Interrupt Disabled.
1 = Timer Capture Interrupt Enabled.
Note:
CAPIEN is used to enable timer capture interrupt. If CAPIEN enabled, timer will
generate an interrupt when CAPIF (TIMERx_EINTSTS[0]) is 1.
For example, while CAPIEN = 1, CAPEN = 1, and CAPEDGE = 00, an 1 to 0 transition on
the ACMPOx will cause the CAPIF to be set then the interrupt signal is generated and
sent to NVIC to inform CPU.
[4]
CAPFUNCS
Capture Function Select Bit
0 = Capture Mode Enabled.
1 = Reset Mode Enabled.
Note1:
When CAPFUNCS is 0, transition on ACMPOx is using to save the 24-bit timer
counter value to CAPDAT register.
Note2:
When CAPFUNCS is 1, transition on ACMPOx is using to reset the 24-bit timer
counter value.