Enhanced Capture (eCAP) Module
Table 15-116. ECCTL2 Register Field Descriptions (continued)
Bit
Field
Type
Reset
Description
3
RE-ARM
R/W
0h
One-Shot Re-Arming Control, that is, wait for stop trigger.
Note: The re-arm function is valid in one shot or continuous mode.
0x0 = Has no effect (reading always returns a 0)
0x1 = Arms the one-shot sequence as follows: 1) Resets the Mod4
counter to zero. 2) Unfreezes the Mod4 counter. 3) Enables capture
register loads.
2-1
STOP_WRAP
R/W
0h
Stop value for one-shot mode.
This is the number (between 1 and 4) of captures allowed to occur
before the CAP (1 through 4) registers are frozen, that is, capture
sequence is stopped.
Wrap value for continuous mode.
This is the number (between 1 and 4) of the capture register in which
the circular buffer wraps around and starts again.
Notes: STOP_WRAP is compared to Mod4 counter and, when
equal, two actions occur: (1) Mod4 counter is stopped (frozen).
(2) Capture register loads are inhibited.
In one-shot mode, further interrupt events are blocked until re-
armed.
0x0 = Stop after Capture Event 1 in one-shot mode. Wrap after
Capture Event 1 in continuous mode.
0x1 = Stop after Capture Event 2 in one-shot mode. Wrap after
Capture Event 2 in continuous mode.
0x2 = Stop after Capture Event 3 in one-shot mode. Wrap after
Capture Event 3 in continuous mode.
0x3 = Stop after Capture Event 4 in one-shot mode. Wrap after
Capture Event 4 in continuous mode.
0
CONT_ONESHT
R/W
0h
Continuous or one-shot mode control (applicable only in capture
mode)
0x0 = Operate in continuous mode
0x1 = Operate in one-shot mode
1644
Pulse-Width Modulation Subsystem (PWMSS)
SPRUH73H – October 2011 – Revised April 2013
Copyright © 2011–2013, Texas Instruments Incorporated