eQEP Registers
1988
SPNU563A – March 2018
Copyright © 2018, Texas Instruments Incorporated
Enhanced Quadrature Encoder Pulse (eQEP) Module
34.3.16 eQEP Interrupt Flag Register (QFLG)
Figure 34-36. eQEP Interrupt Flag Register (QFLG) [offset = 30h]
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 = Read only; -
n
= value after reset
Table 34-19. eQEP Interrupt Flag Register (QFLG) Field Descriptions
Bits
Name
Value
Description
15-12
Reserved
0
Always read as 0.
11
UTO
Unit time out interrupt flag.
0
No interrupt is generated.
1
Set by eQEP unit timer period match.
10
IEL
Index event latch interrupt flag.
0
No interrupt is generated.
1
Set after latching the QPOSCNT to QPOSILAT.
9
SEL
Strobe event latch interrupt flag.
0
No interrupt is generated.
1
Set after latching the QPOSCNT to QPOSSLAT.
8
PCM
Position-compare match interrupt flag.
0
No interrupt is generated.
1
Set on position-compare match.
7
PCR
Position-compare ready interrupt flag.
0
No interrupt is generated.
1
Set after transferring the shadow register value to the active position compare register.
6
PCO
Position counter overflow interrupt flag.
0
No interrupt is generated.
1
Set on position counter overflow.
5
PCU
Position counter underflow interrupt flag.
0
No interrupt is generated.
1
Set on position counter underflow.
4
WTO
Watchdog time out interrupt flag.
0
No interrupt is generated.
1
Set by watchdog timeout.
3
QDC
Quadrature direction change interrupt flag.
0
No interrupt is generated.
1
Set during change of direction.
2
PHE
Quadrature phase error interrupt flag.
0
No interrupt is generated.
1
Set on simultaneous transition of QEPA and QEPB.
1
PCE
Position counter error interrupt flag.
0
No interrupt is generated.
1
Position counter error.
0
INT
Global interrupt status flag.
0
No interrupt is generated.
1
Interrupt was generated.