EasyManuals Logo

Texas Instruments MSP430 User Manual

Texas Instruments MSP430
413 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 #91 background imageLoading...
Page #91 background image
91
Free Running Timer
Free running timers are useful in many cases. Free running timers can be used as random number
generators, time delay generators, instance markers, etc. Consider the case of time delay generation
for instance. Rather than using wasteful CPU-cycle dependent software delay loops, it is much wiser
to use a hardware timer to create precise delays and timed events. In terms of ideal coding, no task
should keep CPU busy unnecessarily nor should it keep other tasks waiting for its completion. Best
coding and design are achieved if things are arranged in such an orderly way that that there is almost
no wastage of any resource at all.
By free-running what I really mean is we start a timer at the beginning of our code and keep it running
without timer interrupt. We just take note of its counter. Here we will see how to use Timer_A3 like a
free running timer and we will use it to blink Launchpad board’s LEDs.

Table of Contents

Other manuals for Texas Instruments MSP430

Questions and Answers:

Question and Answer IconNeed help?

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

Texas Instruments MSP430 Specifications

General IconGeneral
BrandTexas Instruments
ModelMSP430
CategoryMicrocontrollers
LanguageEnglish

Related product manuals