eQEP Registers
848
SPRUH22I – April 2012 – Revised November 2019
Copyright © 2012–2019, Texas Instruments Incorporated
C28 Enhanced QEP (eQEP) Module
Table 9-18. eQEP Interrupt Enable(QEINT) Register Field Descriptions (continued)
Bits
Name
Value
Description
0
Interrupt is disabled
1
Interrupt is enabled
5
PCU
Position counter underflow interrupt enable
0
Interrupt is disabled
1
Interrupt is enabled
4
WTO
Watchdog time out interrupt enable
0
Interrupt is disabled
1
Interrupt is enabled
3
QDC
Quadrature direction change interrupt enable
0
Interrupt is disabled
1
Interrupt is enabled
2
QPE
Quadrature phase error interrupt enable
0
Interrupt is disabled
1
Interrupt is enabled
1
PCE
Position counter error interrupt enable
0
Interrupt is disabled
1
Interrupt is enabled
0
Reserved
Reserved
Figure 9-37. eQEP Interrupt Flag (QFLG) Register
15
12
11
10
9
8
Reserved
UTO
IEL
SEL
PCM
R-0
R-0
R-0
R-0
R-0
7
6
5
4
3
2
1
0
PCR
PCO
PCU
WTO
QDC
PHE
PCE
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 9-19. eQEP Interrupt Flag (QFLG) Register Field Descriptions
Bits Name
Value
Description
15-
12
Reserved
Always write as 0
11
UTO
Unit time out interrupt flag
0
No interrupt generated
1
Set by eQEP unit timer period match
10
IEL
Index event latch interrupt flag
0
No interrupt generated
1
This bit is set after latching the QPOSCNT to QPOSILAT
9
SEL
Strobe event latch interrupt flag
0
No interrupt generated
1
This bit is set after latching the QPOSCNT to QPOSSLAT
8
PCM
eQEP compare match event interrupt flag
0
No interrupt generated
1
This bit is set on position-compare match
7
PCR
Position-compare ready interrupt flag
0
No interrupt generated
1
This bit is set after transferring the shadow register value to the active position compare register.