eQEP Registers
851
SPRUH22I – April 2012 – Revised November 2019
Copyright © 2012–2019, Texas Instruments Incorporated
C28 Enhanced QEP (eQEP) Module
Table 9-21. eQEP Interrupt Force (QFRC) Register Field Descriptions (continued)
Bit
Field
Value
Description
8
PCM
Force position-compare match interrupt
0
No effect
1
Force the interrupt
7
PCR
Force position-compare ready interrupt
0
No effect
1
Force the interrupt
6
PCO
Force position counter overflow interrupt
0
No effect
1
Force the interrupt
5
PCU
Force position counter underflow interrupt
0
No effect
1
Force the interrupt
4
WTO
Force watchdog time out interrupt
0
No effect
1
Force the interrupt
3
QDC
Force quadrature direction change interrupt
0
No effect
1
Force the interrupt
2
PHE
Force quadrature phase error interrupt
0
No effect
1
Force the interrupt
1
PCE
Force position counter error interrupt
0
No effect
1
Force the interrupt
0
Reserved
0 1
Always write as 0
Figure 9-40. eQEP Status (QEPSTS) Register
15
8
Reserved
R-0
7
6
5
4
3
2
1
0
UPEVNT
FIDF
QDF
QDLF
COEF
CDEF
FIMF
PCEF
R/W-1
R-0
R-0
R-0
R/W-1
R/W-1
R/W-1
R-0
LEGEND: R/W = Read/Write; R = Read only; -
n
= value after reset
Table 9-22. eQEP Status (QEPSTS) Register Field Descriptions
Bit
Field
Value
Description
15-8
Reserved
Always write as 0
7
UPEVNT
Unit position event flag
0
No unit position event detected
1
Unit position event detected. Write 1 to clear.
6
FIDF
Direction on the first index marker
Status of the direction is latched on the first index event marker.
0
Counter-clockwise rotation (or reverse movement) on the first index event
1
Clockwise rotation (or forward movement) on the first index event