eQEP Registers
882
SPRUHE8E – October 2012 – Revised November 2019
Copyright © 2012–2019, Texas Instruments Incorporated
C28 Enhanced QEP (eQEP) Module
Table 9-8. eQEP Position Counter Initialization (QPOSINIT) Register Field Descriptions
Bits
Name
Description
31-0
QPOSINIT
This register contains the position value that is used to initialize the position counter based on
external strobe or index event. The position counter can be initialized through software. Writes
to this register should always be full 32-bit writes.
Figure 9-27. eQEP Maximum Position Count Register (QPOSMAX) Register
31
0
QPOSMAX
R/W-0
LEGEND: R/W = Read/Write; R = Read only; -
n
= value after reset
Table 9-9. eQEP Maximum Position Count (QPOSMAX) Register Field Descriptions
Bits
Name
Description
31-0
QPOSMAX
This register contains the maximum position counter value. Writes to this register should
always be full 32-bit writes.
Figure 9-28. eQEP Position-compare (QPOSCMP) Register
31
0
QPOSCMP
R/W-0
LEGEND: R/W = Read/Write; R = Read only; -
n
= value after reset
Table 9-10. eQEP Position-compare (QPOSCMP) Register Field Descriptions
Bits
Name
Description
31-0
QPOSCMP
The position-compare value in this register is compared with the position counter (QPOSCNT) to
generate sync output and/or interrupt on compare match.
Figure 9-29. eQEP Index Position Latch (QPOSILAT) Register
31
0
QPOSILAT
R-0
LEGEND: R/W = Read/Write; R = Read only; -
n
= value after reset
Table 9-11. eQEP Index Position Latch (QPOSILAT) Register Field Descriptions
Bits
Name
Description
31-0
QPOSILAT
The position-counter value is latched into this register on an index event as defined by the
QEPCTL[IEL] bits.
Figure 9-30. eQEP Strobe Position Latch (QPOSSLAT) Register
31
0
QPOSSLAT
R-0
LEGEND: R/W = Read/Write; R = Read only; -
n
= value after reset