ISD94100 Series Technical Reference Manual
Sep 9, 2019
Page
376
of 928
Rev1.09
IS
D
9
410
0
S
ER
IE
S
T
E
C
HN
ICA
L
RE
F
E
RE
NCE
M
AN
U
AL
[7]
CNTDBEN
Timer Counter Pin De-bounce Enable Bit
0 = TMx (x= 0~3) pin de-bounce Disabled.
1 = TMx (x= 0~3) pin de-bounce Enabled.
Note:
If this bit is enabled, the edge detection of TMx pin is detected with de-bounce circuit.
[6]
CAPDBEN
Timer External Capture Pin De-bounce Enable Bit
0 = TMx_EXT (x= 0~3) pin de-bounce Disabled.
1 = TMx_EXT (x= 0~3) pin de-bounce Enabled.
Note:
If this bit is enabled, the edge detection of TMx_EXT pin output is detected with de-
bounce circuit.
[5]
CAPIEN
Timer External Capture Interrupt Enable Bit
0 = TMx_EXT (x= 0~3) pin detection Interrupt Disabled.
1 = TMx_EXT (x= 0~3) pin detection Interrupt Enabled.
Note:
CAPIEN is used to enable timer external interrupt. If CAPIEN enabled, timer will rise
an interrupt when CAPIF (TIMERx_EINTSTS[0]) is 1.
For example, while CAPIEN = 1, CAPEN = 1, and CAPEDGE = 00, a 1 to 0 transition on
the TMx_EXT pin will cause the CAPIF to be set then the interrupt signal is generated and
sent to NVIC to inform CPU.
[4]
CAPFUNCS
Capture Function Selection
0 = External Capture Mode Enabled.
1 = External Reset Mode Enabled.
Note1:
When CAPFUNCS is 0, transition on TMx_EXT (x= 0~3) pin is using to save current
24-bit timer counter value (CNT value) to CAPDAT field.
Note2:
When CAPFUNCS is 1, transition on TMx_EXT (x= 0~3) pin is using to save current
24-bit timer counter value (CNT value) to CAPDAT field then CNT value will be reset
immediately.
[3]
CAPEN
Timer External Capture Pin Enable Bit
This bit enables the TMx_EXT capture pin input function.
0 =TMx_EXT (x= 0~3) pin Disabled.
1 =TMx_EXT (x= 0~3) pin Enabled.
[2:1]
Reserved
Reserved. Any values read should be ignored. When writing to this field always write with
reset value.
[0]
CNTPHASE
Timer External Count Phase
This bit indicates the detection phase of external counting pin TMx (x= 0~3).
0 = A falling edge of external counting pin will be counted.
1 = A rising edge of external counting pin will be counted.