Datasheet

eCAP Registers
www.ti.com
32.5.9 ECAP Interrupt Flag Register (ECFLG)
Figure 32-22. ECAP Interrupt Flag Register (ECFLG) [offset = 2Eh]
15 8
Reserved
R-0
7 6 5 4 3 2 1 0
CTR_CMP CTR_PRD CTROVF CEVT4 CETV3 CEVT2 CETV1 INT
R-0 R-0 R-0 R-0 R-0 R-0 R-0 R-0
LEGEND: R/W = Read/Write; R = Read only; -n = value after reset
Table 32-10. ECAP Interrupt Flag Register (ECFLG) Field Descriptions
Bits Field Value Description
15-8 Reserved 0 Reserved
7 CTR_CMP Compare Equal Compare Status Flag. This flag is active only in APWM mode.
0 Indicates no event occurred.
1 Indicates the counter (TSCTR) reached the compare register value (ACMP)
6 CTR_PRD Counter Equal Period Status Flag. This flag is only active in APWM mode.
0 Indicates no event occurred.
1 Indicates the counter (TSCTR) reached the period register value (APRD) and was reset.
5 CTROVF Counter Overflow Status Flag. This flag is active in CAP and APWM mode.
0 Indicates no event occurred.
1 Indicates the counter (TSCTR) has made the transition from FFFF FFFFh to 0000 0000h
4 CEVT4 Capture Event 4 Status Flag This flag is only active in CAP mode.
0 Indicates no event occurred.
1 Indicates the fourth event occurred at ECAPx pin
3 CEVT3 Capture Event 3 Status Flag. This flag is active only in CAP mode.
0 Indicates no event occurred.
1 Indicates the third event occurred at ECAPx pin.
2 CEVT2 Capture Event 2 Status Flag. This flag is only active in CAP mode.
0 Indicates no event occurred.
1 Indicates the second event occurred at ECAPx pin.
1 CEVT1 Capture Event 1 Status Flag. This flag is only active in CAP mode.
0 Indicates no event occurred.
1 Indicates the first event occurred at ECAPx pin.
0 INT Global Interrupt Status Flag
0 Indicates no interrupt generated.
1 Indicates that an interrupt was generated.
1670
Enhanced Capture (eCAP) Module SPNU562May 2014
Submit Documentation Feedback
Copyright © 2014, Texas Instruments Incorporated