EasyManua.ls Logo

Texas Instruments MSP430

Texas Instruments MSP430
398 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
Loading...
Timer Details: Configuring TIMER_A
Continuous Mode
Thus far we have described the timer’s counter operating in the Continuous mode; in fact, this
was the configuration example we just discussed.
The different counting modes describe how the timer counter register (TAR) is incremented or
decremented. For example, in Continuous mode, the timer counts from 0x0 up to 0xFFF and then
rolls back to 0x0, where it begins counting up again. (This is shown in the diagram above.)
As you can see, every time the counter rolls back to zero, the TAIFG bit gets set; which, if
enabled, interrupts the processor every 2
16
input clocks. (Since our previous example was for
Timer0_A, the diagram shows TA0IFG getting set.)
MSP430 Workshop - Timers 6 - 15

Table of Contents

Other manuals for Texas Instruments MSP430

Related product manuals