timers-010
EVENT_CAPTURE
EVENT_CAPTURE
resynchronized
Captured pulse
TCAR1 enable
GPTi.TCRR
GPTi.TCAR1
Capture ignored
CLK_TIMER
GPTi.TCAR2
Capture ignored
NO CHANGE
NEW VALUE
NEW VALUE
timers-011
EVENT_CAPTURE
EVENT_CAPTURE
resynchronized
Captured pulse
TCAR1 enable
GPTi.TCRR
GPTi.TCAR1
Capture ignored
CLK_TIMER
GPTi.TCAR2
Capture ignored
NEW VALUE
TCAR2 enable
NEW VALUE
Capture ignored
Public Version
General-Purpose Timers
www.ti.com
In
, the GPTi.
[9:8] TCM value is 0b01, and GPTi.
[13] CAPT_MODE is 0. Only the
rising edge of EVENT_CAPTURE triggers a capture in the GPTi.
and GPTi.
registers, and
only the GPTi.
register updates.
Figure 16-10. Capture Wave Example for GPTi.TCLR[13] CAPT_MODE = 0
In
, the GPTi.
[9:8] TCM value is 0b01, and GPTi.
[13] CAPT_MODE is 1. Only the
rising edge of EVENT_CAPTURE triggers a capture in the GPTi.
register on the first enabled
event, and the GPTi.
register updates on the second enabled event.
Figure 16-11. Capture Wave Example for GPTi.TCLR[13] CAPT_MODE = 1
16.2.4.4 Compare Mode Functionality
When the compare enable register GPTi.
[6] CE bit is set to 1, the timer value (GPTi.
TIMER_COUNTER field) is continuously compared to the value held in the timer match register
(GPTi.
). The GPTi.
[31:0] COMPARE_VALUE value can be loaded at any time (timer counting
or stopped). When the GPTi.
and the GPTi.
values match, an interrupt is issued, if the
[0] MAT_IT_ENA bit is set.
2718
Timers
SWPU177N – December 2009 – Revised November 2010
Copyright © 2009–2010, Texas Instruments Incorporated