eCAP Registers
www.ti.com
382
SPRUI07–March 2020
Submit Documentation Feedback
Copyright © 2020, Texas Instruments Incorporated
Enhanced Capture (eCAP)
Table 5-11. ECCTL2 Register Field Descriptions (continued)
Bit Field Type Reset Description
5 SYNCI_EN R/W 0h
Counter (TSCTR) Sync-In select mode
Reset type: SYSRSn
0h (R/W) = Disable sync-in option
1h (R/W) = Enable counter (TSCTR) to be loaded from CTRPHS
register upon either a SYNCI signal or a S/W force event.
4 TSCTRSTOP R/W 0h
Time Stamp (TSCTR) Counter Stop (freeze) Control
Reset type: SYSRSn
0h (R/W) = TSCTR stopped
1h (R/W) = TSCTR free-running
3 REARM R-0/W1S 0h
Re-Arming Control. Note: The re-arm function is valid in one shot or
continuous mode.
Reset type: SYSRSn
0h (R/W) = Has no effect (reading always returns a 0)
1h (R/W) = 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 3h
Stop value for one-shot mode. This is the number (between 1-4) of
captures allowed to occur before the CAP(1-4) registers are frozen,
that is, capture sequence is stopped.
Wrap value for continuous mode. This is the number (between 1-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, 2 actions occur:
- Mod4 counter is stopped (frozen)
- Capture register loads are inhibited
In one-shot mode, further interrupt events are blocked until re-
armed.
Reset type: SYSRSn
0h (R/W) = Stop after Capture Event 1 in one-shot mode
Wrap after Capture Event 1 in continuous mode.
1h (R/W) = Stop after Capture Event 2 in one-shot mode
Wrap after Capture Event 2 in continuous mode.
2h (R/W) = Stop after Capture Event 3 in one-shot mode
Wrap after Capture Event 3 in continuous mode.
3h (R/W) = 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)
Reset type: SYSRSn
0h (R/W) = Operate in continuous mode
1h (R/W) = Operate in one-Shot mode