eQEP Registers
www.ti.com
1986
SPNU563A–March 2018
Submit Documentation Feedback
Copyright © 2018, Texas Instruments Incorporated
Enhanced Quadrature Encoder Pulse (eQEP) Module
34.3.14 eQEP Position-Compare Control Register (QPOSCTL)
Figure 34-34. eQEP Position-Compare Control Register (QPOSCTL) [offset = 2Ch]
15 14 13 12 11 8
PCSHDW PCLOAD PCPOL PCE PCSPW
R/W-0 R/W-0 R/W-0 R/W-0 R/W-0
7 0
PCSPW
R/W-0
LEGEND: R/W = Read/Write; -n = value after reset
Table 34-17. eQEP Position-Compare Control Register (QPOSCTL) Field Descriptions
Bit Name Value Description
15 PCSHDW Position-compare shadow enable.
0 Shadow is disabled, load Immediate.
1 Shadow is enabled.
14 PCLOAD Position-compare shadow load mode.
0 Load on QPOSCNT = 0.
1 Load when QPOSCNT = QPOSCMP.
13 PCPOL Polarity of sync output.
0 Active HIGH pulse output.
1 Active LOW pulse output.
12 PCE Position-compare enable.
0 Position-compare unit is disabled.
1 Position-compare unit is enabled.
11-0 PCSPW Select-position-compare sync output pulse width.
0 1 × 4 × VCLK3 cycles
1h 2 × 4 × VCLK3 cycles
: :
FFFh 4096 × 4 × VCLK3 cycles