eQEP Registers
1987
SPNU563A – March 2018
Copyright © 2018, Texas Instruments Incorporated
Enhanced Quadrature Encoder Pulse (eQEP) Module
34.3.15 eQEP Capture Control Register (QCAPCTL)
Figure 34-35. eQEP Capture Control Register (QCAPCTL) [offset = 2Eh]
15
14
7
6
4
3
0
CEN
Reserved
CCPS
UPPS
R/W-0
R-0
R/W-0
R/W-0
LEGEND: R/W = Read/Write; R = Read only; -
n
= value after reset
Table 34-18. eQEP Capture Control Register (QCAPCTL) Field Descriptions
Bits
Name
Value
Description
15
CEN
Enable eQEP capture.
0
eQEP capture unit is disabled.
1
eQEP capture unit is enabled.
14-7
Reserved
0
Always read as 0.
6-4
CCPS
eQEP capture timer clock prescaler.
0
CAPCLK = VCLK3/1
1h
CAPCLK = VCLK3/2
2h
CAPCLK = VCLK3/4
3h
CAPCLK = VCLK3/8
4h
CAPCLK = VCLK3/16
5h
CAPCLK = VCLK3/32
6h
CAPCLK = VCLK3/64
7h
CAPCLK = VCLK3/128
3-0
UPPS
Unit position event prescaler.
0
UPEVNT = QCLK/1
1h
UPEVNT = QCLK/2
2h
UPEVNT = QCLK/4
3h
UPEVNT = QCLK/8
4h
UPEVNT = QCLK/16
5h
UPEVNT = QCLK/32
6h
UPEVNT = QCLK/64
7h
UPEVNT = QCLK/128
8h
UPEVNT = QCLK/256
9h
UPEVNT = QCLK/512
Ah
UPEVNT = QCLK/1024
Bh
UPEVNT = QCLK/2048
Ch-Fh
Reserved