Timer A is a flexible system; the main counter can vary its counting pattern among several options with the MCx bits of the Timer A Control Register TACTL. These modes are:
- Stop: the counter is not running
- Up: the counter counts upward from zero to the value in Timer A Compare Latch 0 (TACL0). When it gets to this value, it resets to zero. If the TACL0 value is larger than the maximum value of the Timer A counter, the counter behaves as if it were in Continuous mode.
- Continuous: the counter counts from zero to the maximum value of the Timer (0xFFFF). When the counter reaches this value, it resets to zero.
- Up/down mode: the counter counts up to the value in TACL0 then counts back down to zero (as opposed to resetting directly to zero). If the TACL0 value is larger than the maximum value of the Timer A counter, the counter behaves as if it were in Continuous mode.
Please note that the word count is used above- if the timer is set to a certain number it will not trigger anything. The timer must count from the number below to the target number to trigger effects.









"This is the entire course organized at Rice University for all the basic lessons for using an MSP430. It is designed for the use of an eZ430 tool and is still under construction."