EasyManuals Logo

Texas Instruments AM335 Series Technical Reference Manual

Texas Instruments AM335 Series
4161 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #3592 background imageLoading...
Page #3592 background image
timer_clock
pi_eventcapt
eventcapt_resync
capt_pulse
tcar2_enable
TCRR
FSM State
TCAR2
clear_trig
int_serve
NEW_VALUE NEW_VALUE
LOCKED2 LOCKED2
TCAR1
tcar1_enable
NEW_VALUE NEW_VALUE
Capture Ignored Capture Ignored
UN-LOCKED LOCKED1 UN-LOCKED LOCKED1
pi_eventcapt
eventcapt_resync
capt_pulse
tcar1_enable
TCRR
FSM State
TCAR1
clear_trig
int_serve
TCAR2
timer_clock
UN-LOCKED
LOCKED1
UN-LOCKED
LOCKED1
UN-LOCKED
NEW_VALUE NEW_VALUE NEW_VALUE
Capture Ignored Capture Ignored
DMTimer 1ms
www.ti.com
Figure 20-30. Capture Wave Example for CAPT_MODE 0
In the following example, the TCM value is “01” and CAPT_MODE is “1”- only rising edge of the
PIEVENTCAPT will trigger a capture in TCAR1 on first enabled event and TCAR2 will update on the
second enabled event.
Figure 20-31. Capture Wave Example for CAPT_MODE 1
20.2.3.3 Compare Mode Functionality
When Compare Enable TCLR (CE bit) is set to “1”, the timer value (TCRR) is permanently compared to
the value held in timer match register (TMAR). TMAR value can be loaded at any time (timer counting or
stop). When the TCRR and the TMAR values match, an interrupt can be issued if the TIER (MAT_IT_ENA
bit) is set. The right programming way is to write a compare value in TMAR register before setting TCLR
(CE bit) to avoid any unwanted interrupt due to a reset value matching effect.
3592
Timers SPRUH73HOctober 2011Revised April 2013
Submit Documentation Feedback
Copyright © 2011–2013, Texas Instruments Incorporated

Table of Contents

Other manuals for Texas Instruments AM335 Series

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Texas Instruments AM335 Series and is the answer not in the manual?

Texas Instruments AM335 Series Specifications

General IconGeneral
BrandTexas Instruments
ModelAM335 Series
CategoryComputer Hardware
LanguageEnglish

Related product manuals