Enhanced Quadrature Encoder Pulse (eQEP) Module
15.4.3.1 eQEP Position Counter Register (QPOSCNT)
Figure 15-149. eQEP Position Counter Register (QPOSCNT)
31
0
QPOSCNT
R/W-0
LEGEND: R/W = Read/Write; R = Read only; -n = value after reset
Table 15-124. eQEP Position Counter Register (QPOSCNT) Field Descriptions
Bits
Name
Value
Description
31-0
QPOSCNT
0-FFFF FFFFh
This 32-bit position counter register counts up/down on every eQEP pulse based on direction
input. This counter acts as a position integrator whose count value is proportional to position
from a give reference point.
15.4.3.2 eQEP Position Counter Initialization Register (QPOSINIT)
Figure 15-150. eQEP Position Counter Initialization Register (QPOSINIT)
31
0
QPOSINIT
R/W-0
LEGEND: R/W = Read/Write; R = Read only; -n = value after reset
Table 15-125. eQEP Position Counter Initialization Register (QPOSINIT) Field Descriptions
Bits
Name
Value
Description
31-0
QPOSINIT
0-FFFF FFFFh
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.
15.4.3.3 eQEP Maximum Position Count Register (QPOSMAX)
Figure 15-151. eQEP Maximum Position Count Register (QPOSMAX)
31
0
QPOSMAX
R/W-0
LEGEND: R/W = Read/Write; R = Read only; -n = value after reset
Table 15-126. eQEP Maximum Position Count Register (QPOSMAX) Field Descriptions
Bits
Name
Value
Description
31-0
QPOSMAX
0-FFFF FFFFh
This register contains the maximum position counter value.
1673
SPRUH73H – October 2011 – Revised April 2013
Pulse-Width Modulation Subsystem (PWMSS)
Copyright © 2011–2013, Texas Instruments Incorporated