eQEP Registers
427
SPRUH91D – March 2013 – Revised September 2016
Copyright © 2013–2016, Texas Instruments Incorporated
Enhanced Quadrature Encoder Pulse (eQEP) Module
15.3.15 eQEP Position-Compare Control Register (QPOSCTL)
Figure 15-35. eQEP Position-Compare Control Register (QPOSCTL)
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; R = Read only; -
n
= value after reset
Table 15-17. eQEP Position-Compare Control Register (QPOSCTL) Field Descriptions
Bit
Name
Value
Description
15
PCSHDW
Position-compare shadow enable
0
Shadow disabled, load Immediate
1
Shadow 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/disable
0
Disable position compare unit
1
Enable position compare unit
11-0
PCSPW
0-FFFh
Select-position-compare sync output pulse width
0
1 × 4 × SYSCLKOUT cycles
1h
2 × 4 × SYSCLKOUT cycles
2h-FFFh
3 × 4 × SYSCLKOUT cycles to 4096 × 4 × SYSCLKOUT cycles