
Mini57
Apr. 06, 2017
Page 218 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
Input Capture Timer/Counter Control Register (ECAP_CTL0)
Register
Offset
R/W
Description
Reset Value
ECAP_CTL0
0x14
R/W
Input Capture Control Register 0
0x0000_0000
31
30
29
28
27
26
25
24
Reserved
CAPPHGEN
CAPEN
CMPEN
RLDEN
CPTCLR
CMPCLR
CPTST
23
22
21
20
19
18
17
16
Reserved
CAPCMPIEN
CAPOVIEN
Reserved
CAPTF2IEN
CAPTF1IEN
CAPTF0IEN
15
14
13
12
11
10
9
8
Reserved
CAPSEL2
CAPSEL1
CAPSEL0
7
6
5
4
3
2
1
0
Reserved
IC2EN
IC1EN
IC0EN
CAPNFDIS
Reserved
NFCLKS
Bits
Description
[31]
Reserved
Reserved.
[30]
CAPPHGEN
Input Capture Flag Trigger PWM Phase Change Function Enable Bit
0 = CAPTF2, CAPTF1 or CAPTF0 trigger PWM phase change function Disabled.
1 = CAPTF2, CAPTF1 or CAPTF0 trigger PWM phase change function Enabled.
[29]
CAPEN
Input Capture Timer/Counter Enable Bit
0 = Input Capture function Disabled.
1 = Input Capture function Enabled.
[28]
CMPEN
The Compare Function Enable Bit
The compare function in input capture timer/counter is to compare the dynamic counting
ECAP_CNT with the compare register ECAP_CNTCMP, if ECAP_CNT value reaches
ECAP_CNTCMP, the flag CAPCMPF will be set.
0 = Compare function Disabled.
1 = Compare function Enabled.
[27]
RLDEN
The Reload Function Enable Bit
Setting this bit to enable reload function. If the reload control is enabled, an overflow event
(CAPOVF) or capture events (CAPTFx) will trigger the hardware to reload ECAP_CNTCMP
into ECAP_CNT.
0 =Reload function Disabled.
1 = Reload function Enabled.
[26]
CPTCLR
Input Capture Counter Clear by Capture Events Control
If this bit is set to 1, the capture counter (ECAP_CNT) will be cleared to 0 when any one of
capture events (CAPTF0~3) occurs.
0 = Capture events (CAPTF0~3) can clear capture counter (ECAP_CNT) Disabled.
1 = Capture events (CAPTF0~3) can clear capture counter (ECAP_CNT) Enabled.
Содержание Mini57 Series
Страница 376: ...Mini57 Apr 06 2017 Page 376 of 475 Rev 1 00 MINI57 SERIES TECHNICAL REFERENCE MANUAL 1 Receive buffer is full ...
Страница 472: ...Mini57 Apr 06 2017 Page 472 of 475 Rev 1 00 MINI57 SERIES TECHNICAL REFERENCE MANUAL 1 3 20 Pin TSSOP 4 4x6 5x0 9 mm ...
Страница 473: ...Mini57 Apr 06 2017 Page 473 of 475 Rev 1 00 MINI57 SERIES TECHNICAL REFERENCE MANUAL 9 1 33 pin QFN33 4x4x0 8 mm ...