Registers
449
SPRUH82C – April 2013 – Revised September 2016
Copyright © 2013–2016, Texas Instruments Incorporated
Enhanced Capture (eCAP) Module
15.4 Registers
shows the eCAP module control and status register set. All 32-bit registers are aligned on
even address boundaries and are organized in little-endian mode. The 16 least-significant bits of a 32-bit
register are located on lowest address (even address).
NOTE:
In APWM mode, writing to CAP1/CAP2 active registers also writes the same value to the
corresponding shadow registers CAP3/CAP4. This emulates immediate mode. Writing to the
shadow registers CAP3/CAP4 invokes the shadow mode.
Table 15-13. Control and Status Register Set
Offset
Acronym
Description
Size (×16)
Section
0h
TSCTR
Time-Stamp Counter Register
2
4h
CTRPHS
Counter Phase Offset Value Register
2
8h
CAP1
Capture 1 Register
2
Ch
CAP2
Capture 2 Register
2
10h
CAP3
Capture 3 Register
2
14h
CAP4
Capture 4 Register
2
28h
ECCTL1
Capture Control Register 1
1
2Ah
ECCTL2
Capture Control Register 2
1
2Ch
ECEINT
Capture Interrupt Enable Register
1
2Eh
ECFLG
Capture Interrupt Flag Register
1
30h
ECCLR
Capture Interrupt Clear Register
1
32h
ECFRC
Capture Interrupt Force Register
1
5Ch
REVID
Revision ID Register
2
15.4.1 Time-Stamp Counter Register (TSCTR)
The time-stamp counter register (TSCTR) is shown in
and described in
.
Figure 15-17. Time-Stamp Counter Register (TSCTR)
31
0
TSCTR
R/W-0
LEGEND: R/W = Read/Write; -
n
= value after reset
Table 15-14. Time-Stamp Counter Register (TSCTR) Field Descriptions
Bit
Field
Value
Description
31-0
TSCTR
0-FFFF FFFFh
Active 32-bit counter register that is used as the capture time-base