eQEP Registers
886
SPRUHE8E – October 2012 – Revised November 2019
Copyright © 2012–2019, Texas Instruments Incorporated
C28 Enhanced QEP (eQEP) Module
Table 9-19. eQEP Interrupt Flag (QFLG) Register Field Descriptions (continued)
Bits Name
Value
Description
6
PCO
Position counter overflow interrupt flag
0
No interrupt generated
1
This bit is set on position counter overflow.
5
PCU
Position counter underflow interrupt flag
0
No interrupt generated
1
This bit is set on position counter underflow.
4
WTO
Watchdog timeout interrupt flag
0
No interrupt generated
1
Set by watch dog timeout
3
QDC
Quadrature direction change interrupt flag
0
No interrupt generated
1
This bit is set during change of direction
2
PHE
Quadrature phase error interrupt flag
0
No interrupt generated
1
Set on simultaneous transition of QEPA and QEPB
1
PCE
Position counter error interrupt flag
0
No interrupt generated
1
Position counter error
0
INT
Global interrupt status flag
0
No interrupt generated
1
Interrupt was generated
Figure 9-38. eQEP Interrupt Clear (QCLR) Register
15
12
11
10
9
8
Reserved
UTO
IEL
SEL
PCM
R-0
R/W-0
R/W-0
R/W-0
R/W-0
7
6
5
4
3
2
1
0
PCR
PCO
PCU
WTO
QDC
PHE
PCE
INT
R/W-0
R/W-0
R/W-0
R/W-0
R/W-0
R/W-0
R/W-0
R/W-0
LEGEND: R/W = Read/Write; R = Read only; -
n
= value after reset
Table 9-20. eQEP Interrupt Clear (QCLR) Register Field Descriptions
Bit
Field
Value
Description
15-12
Reserved
Always write as 0s
11
UTO
Clear unit time out interrupt flag
0
No effect
1
Clears the interrupt flag
10
IEL
Clear index event latch interrupt flag
0
No effect
1
Clears the interrupt flag
9
SEL
Clear strobe event latch interrupt flag
0
No effect
1
Clears the interrupt flag
8
PCM
Clear eQEP compare match event interrupt flag
0
No effect
1
Clears the interrupt flag