PRDEQ
Clear
Set
Latch
CEVT1
ECFRC
ECCLR
ECFLG
ECEINT
ECCLR
ECEINT
Set
Clear
Latch
CEVT2
ECFRC
ECFLG
ECCLR
ECCLR
Clear
ECEINT
Latch
Set
ECFLG
ECEINT
Set
Clear
Latch
ECFRC
CEVT4
CEVT3
ECFRC
ECFLG
ECFRC
ECCLR
ECEINT
Set
ECEINT
ECFLG
Latch
Clear
Latch
Set
CMPEQ
ECFRC
ECCLR
ECCLR
Clear
ECFLG
ECEINT
Clear
Latch
Set
ECFRC
CTROVF
ECFLG
0
1
0
Generate
interrupt
pulse when
input=1
Latch
Clear
Set
ECCLR
ECAPxINT
ECFLG
Capture Mode Description
835
SPRUHE8E – October 2012 – Revised November 2019
Copyright © 2012–2019, Texas Instruments Incorporated
C28 Enhanced Capture (eCAP) Module
Note:
The CEVT1, CEVT2, CEVT3, CEVT4 flags are only active in capture mode (ECCTL2[CAP/APWM
== 0]). The CTR=PRD, CTR=CMP flags are only valid in APWM mode (ECCTL2[CAP/APWM == 1]).
CNTOVF flag is valid in both modes.
Figure 8-8. Interrupts in eCAP Module
8.4.7 Shadow Load and Lockout Control
In capture mode, this logic inhibits (locks out) any shadow loading of CAP1 or CAP2 from APRD and
ACMP registers, respectively.
In APWM mode, shadow loading is active and two choices are permitted:
•
Immediate - APRD or ACMP are transferred to CAP1 or CAP2 immediately upon writing a new value.
•
On period equal, CTR[31:0] = PRD[31:0]