eQEP Registers
847
SPRUH22I – April 2012 – Revised November 2019
Copyright © 2012–2019, Texas Instruments Incorporated
C28 Enhanced QEP (eQEP) Module
Table 9-16. eQEP Watchdog Timer (QWDTMR) Register Field Descriptions
Bits
Name
Description
15-0
QWDTMR
This register acts as time base for watch dog to detect motor stalls. When this timer value
matches with watch dog period value, watch dog timeout interrupt is generated. This register is
reset upon edge transition in quadrature-clock indicating the motion.
Figure 9-35. eQEP Watchdog Period (QWDPRD) Register
15
0
QWDPRD
R/W-0
LEGEND: R/W = Read/Write; R = Read only; -
n
= value after reset
Table 9-17. eQEP Watchdog Period (QWDPRD) Register Field Description
Bits
Name
Value
Description
15-0
QWDPRD
This register contains the time-out count for the eQEP peripheral watch dog timer.
When the watchdog timer value matches the watchdog period value, a watchdog
timeout interrupt is generated.
Figure 9-36. eQEP Interrupt Enable (QEINT) 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
QPE
PCE
Reserved
R/W-0
R/W-0
R/W-0
R/W-0
R/W-0
R/W-0
R/W-0
R-0
LEGEND: R/W = Read/Write; R = Read only; -
n
= value after reset
Table 9-18. eQEP Interrupt Enable(QEINT) Register Field Descriptions
Bits
Name
Value
Description
15-12
Reserved
0
Always write as 0
11
UTO
Unit time out interrupt enable
0
Interrupt is disabled
1
Interrupt is enabled
10
IEL
Index event latch interrupt enable
0
Interrupt is disabled
1
Interrupt is enabled
9
SEL
Strobe event latch interrupt enable
0
Interrupt is disabled
1
Interrupt is enabled
8
PCM
Position-compare match interrupt enable
0
Interrupt is disabled
1
Interrupt is enabled
7
PCR
Position-compare ready interrupt enable
0
Interrupt is disabled
1
Interrupt is enabled
6
PCO
Position counter overflow interrupt enable