Enhanced Quadrature Encoder Pulse (eQEP) Module
15.4.3.15 eQEP Position-Compare Control Register (QPOSCTL)
Figure 15-163. 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-138. 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
1681
SPRUH73H – October 2011 – Revised April 2013
Pulse-Width Modulation Subsystem (PWMSS)
Copyright © 2011–2013, Texas Instruments Incorporated