Eqep Position-Compare Control (Qposctl) Register; Eqep Position-Compare Control (Qposctl) Register Field Descriptions - Texas Instruments Concerto F28M35 Series Technical Reference Manual

Table of Contents

Advertisement

www.ti.com
Table 9-4. eQEP Control (QEPCTL) Register Field Descriptions (continued)
Bits
Name
3
QPEN
2
QCLM
1
UTE
0
WDE
Figure 9-23. eQEP Position-compare Control (QPOSCTL) Register
15
14
PCSHDW
PCLOAD
R/W-0
R/W-0
7
LEGEND: R/W = Read/Write; R = Read only; -n = value after reset
Table 9-5. eQEP Position-compare Control (QPOSCTL) Register Field Descriptions
Bit
Name
15
PCSHDW
14
PCLOAD
13
PCPOL
12
PCE
11-0
PCSPW
SPRUH22I – April 2012 – Revised November 2019
Submit Documentation Feedback
Value
Description
Quadrature position counter enable/software reset
0
Reset the eQEP peripheral internal operating flags/read-only registers. Control/configuration
registers are not disturbed by a software reset.
1
eQEP position counter is enabled
eQEP capture latch mode
0
Latch on position counter read by CPU. Capture timer and capture period values are latched
into QCTMRLAT and QCPRDLAT registers when CPU reads the QPOSCNT register.
1
Latch on unit time out. Position counter, capture timer and capture period values are latched
into QPOSLAT, QCTMRLAT and QCPRDLAT registers on unit time out.
eQEP unit timer enable
0
Disable eQEP unit timer
1
Enable unit timer
eQEP watchdog enable
0
Disable the eQEP watchdog timer
1
Enable the eQEP watchdog timer
13
12
PCPOL
PCE
R/W-0
R/W-0
PCSPW
Description
Position-compare shadow enable
0
Shadow disabled, load Immediate
1
Shadow enabled
Position-compare shadow load mode
0
Load on QPOSCNT = 0
1
Load when QPOSCNT = QPOSCMP
Polarity of sync output
0
Active HIGH pulse output
1
Active LOW pulse output
Position-compare enable/disable
0
Disable position compare unit
1
Enable position compare unit
Select-position-compare sync output pulse width
0x000
1 * 4 * SYSCLKOUT cycles
0x001
2 * 4 * SYSCLKOUT cycles
0xFFF
4096 * 4 * SYSCLKOUT cycles
Copyright © 2012–2019, Texas Instruments Incorporated
11
R/W-0
C28 Enhanced QEP (eQEP) Module
eQEP Registers
8
PCSPW
R/W-0
0
843

Advertisement

Table of Contents
loading

Table of Contents