
M0A21/M0A23 Series
May 06, 2022
Page
313
of 746
Rev 1.02
M0
A21
/M
0
A
2
3
SE
RIES
TEC
H
NICAL
RE
FEREN
C
E
M
ANUAL
Timer External Control Register (TIMERx_EXTCTL)
Register
Offset
R/W
Description
Reset Value
TIMER0_EXTCTL
T0x14
R/W
Timer0 External Control Register
0x0000_0000
TIMER1_EXTCTL
T0x34
R/W
Timer1 External Control Register
0x0000_0000
TIMER2_EXTCTL
T0x14
R/W
Timer2 External Control Register
0x0000_0000
TIMER3_EXTCTL
T0x34
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
SIGST
CASIGMEN
Reserved
ECNTSSEL
15
14
13
12
11
10
9
8
Reserved
CAPEDGE
Reserved
INTERCAPSEL
7
6
5
4
3
2
1
0
CNTDBEN
CAPDBEN
CAPIEN
CAPFUNCS
CAPEN
Reserved
CNTPHASE
Bits
Description
[31:22]
Reserved
Reserved.
[21]
SIGST
Single Measure Start Bit
User can write 1’b1 to this bit to let timer start measure TMx_EXT pin. When capture measure event
finishes this bit will auto clear by hardware.
[20]
CASIGMEN
Capture Single Measure Mode Enable Bit
Enable
Single Pulse Mode function, user can write one to SIGST that can start measure full period or
half period on TMx_EXT(x=0~3),.
0 =
Single Measure Mode Disabled.
1 =
Single Measure Mode Enabled.
Note:
these bits only available when CAPEN (TIMERx_EXTCTL[3]) is 1.
[19:17]
Reserved
Reserved.
[16]
ECNTSSEL
Event Counter Source Selection to Trigger Event Counter Function
0 = Event Counter input source is from TMx (x= 0~3) pin.
1 = Reserved.
[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]) will be set to 0.
Disable Single Pulse Mode :
000 = Capture event occurred when detect falling edge transfer on TMx_EXT (x= 0~3) pin.
001 = Capture event occurred when detect rising edge transfer on TMx_EXT (x= 0~3) pin.
010 = Capture event occurred when detect both falling and rising edge transfer on TMx_EXT (x= 0~3)