Contents: Timer functions, MSP430 Timer, Timer A, Timer A Output modes, Timer A interrupts,. | 00:48:37 Chapter 7 Timing generation and measurements 00:48:37 Timer functions • • • • • Stop watch. Captures time of external events. Creates output waveform. Pulse accumulations. Creates periodic interrupts. Microcomputer principles and applications 00:48:37 Timer functions Triangle Sine Ramp up Ramp down Square Pulse Microcomputer principles and applications 00:48:37 MSP430 Timer • • • • • • Asynchronous 16-bit timer/counter with four operating modes. Selectable and configurable clock source. Two or three configurable capture/compare registers. Configurable outputs with PWM capability. Asynchronous input and output latching. Interrupt vector register for fast decoding of all Timer A interrupts. Microcomputer principles and applications 00:48:37 Timer A Generally MSP430 family contains two categories of timers • • Timer A Timer B. What is the difference between Timer A and Timer B? Same in operation, but Timer B is more sophisticated than Timer A and it has many features available than compared with Timer A. They are: • • • • Bit-length of the timer is programmable as 8-bit, 10- bit, 12-bit, 16-bit. Some Timers in B category have 7 CCR registers whereas the Timer A contains three capture/compare registers. It contains double-buffered CCR register. CCR register can be grouped. Microcomputer principles and .