1. MSP430F5438A has three timers: TA0, TA1 and TB0.
2. CCR0 has a single interrupt vector with the highest priority. The other CCR1--CCR5 share a common interrupt vector.
3. Interrupt vector:
#define TIMER1_A1_VECTOR (48 * 2u) /* 0xFFE0 Timer1_A3 CCR1-2, TA1 */
#define TIMER1_A0_VECTOR (49 * 2u) /* 0xFFE2 Timer1_A3 CCR0 */
#define TIMER0_A1_VECTOR (53 * 2u) /* 0xFFEA Timer0_A5 CCR1-4, TA0 */
#define TIMER0_A0_VECTOR (54 * 2u) /* 0xFFEC Timer0_A5 CCR0 */
#define TIMER0_B1_VECTOR (59 * 2u) /* 0xFFF6 Timer0_B7 CCR1-6, TB */
#define TIMER0_B0_VECTOR (60 * 2u) /* 0xFFF8 Timer0_B7 CCR0 */
4. Please refer to the following table when writing code
Interrupt vector name | Interrupt vector | Timer | meaning | Operation Register |
TIMER1_A1_VECTOR | 0xFFE0 | TA1 | TA1CCR1-2, TA1IFG Compare match channels 1 and 2, overflow interrupt | TA1CCTL1,TA1CCR1 TA1CCTL2,TA1CCR2 TA1CTL (overflow interrupt) |
TIMER1_A0_VECTOR | 0xFFE2 | TA1 | TA1CCR0 Compare Match Channel 0 | TA1CCTL0,TA1CCR0 |
TIMER0_A1_VECTOR | 0xFFEA | TA0 | TA0CCR1-4, TA0IFG Compare Match Channels 1 to 4 Overflow interrupt | TA0CCTL1,TA0CCR1 TA0CCTL2,TA0CCR2 TA0CCTL3,TA0CCR3 TA0CCTL4,TA0CCR4 TA0CTL (overflow interrupt) |
TIMER0_A0_VECTOR | 0xFFEC | TA0 | TA0CCR0 Compare Match Channel 0 | TA0CCTL0,TA0CCR0 |
TIMER0_B1_VECTOR | 0xFFF6 | TB | TBCCR1-6, TBIFG Compare Match Channels 1 to 6 Overflow interrupt | |
TIMER0_B0_VECTOR | 0xFFF8 | TB | TBCCR0 Compare Match Channel 0 |
Previous article:MSP430F5438A Memory Flash Read and Write Operations
Next article:MSP430 Flash information area
Recommended ReadingLatest update time:2024-11-15 07:55
- Popular Resources
- Popular amplifiers
- 【ON Semiconductor】LC87F7932B8-bit single-chip microcontroller
- USB Complete The Developer\'s Guide 5ed (USB Development Complete 5th Edition)
- CRC.ARM.Microprocessor.Systems.2017.pdf
- Introducing the application of multiplication and division instructions with interrupt functions of C16x series microcontrollers
- Learn ARM development(16)
- Learn ARM development(17)
- Learn ARM development(18)
- Embedded system debugging simulation tool
- A small question that has been bothering me recently has finally been solved~~
- Learn ARM development (1)
- Learn ARM development (2)
- Learn ARM development (4)
- Learn ARM development (6)
Professor at Beihang University, dedicated to promoting microcontrollers and embedded systems for over 20 years.
- LED chemical incompatibility test to see which chemicals LEDs can be used with
- Application of ARM9 hardware coprocessor on WinCE embedded motherboard
- What are the key points for selecting rotor flowmeter?
- LM317 high power charger circuit
- A brief analysis of Embest's application and development of embedded medical devices
- Single-phase RC protection circuit
- stm32 PVD programmable voltage monitor
- Introduction and measurement of edge trigger and level trigger of 51 single chip microcomputer
- Improved design of Linux system software shell protection technology
- What to do if the ABB robot protection device stops
- CGD and Qorvo to jointly revolutionize motor control solutions
- CGD and Qorvo to jointly revolutionize motor control solutions
- Keysight Technologies FieldFox handheld analyzer with VDI spread spectrum module to achieve millimeter wave analysis function
- Infineon's PASCO2V15 XENSIV PAS CO2 5V Sensor Now Available at Mouser for Accurate CO2 Level Measurement
- Advanced gameplay, Harting takes your PCB board connection to a new level!
- Advanced gameplay, Harting takes your PCB board connection to a new level!
- A new chapter in Great Wall Motors R&D: solid-state battery technology leads the future
- Naxin Micro provides full-scenario GaN driver IC solutions
- Interpreting Huawei’s new solid-state battery patent, will it challenge CATL in 2030?
- Are pure electric/plug-in hybrid vehicles going crazy? A Chinese company has launched the world's first -40℃ dischargeable hybrid battery that is not afraid of cold
- Some considerations for DSP hardware design
- The significance of weld seam tracking sensors in the field of welding
- TI's new optical stage lighting DLP chipset is said to provide up to 15,000 lumens of monochrome light
- Memory alignment processing for ARM processors
- Last day for pre-registration! In-depth analysis of Infineon's star product IGBT7, live broadcast to understand the device operation and load process
- [Rawpixel RVB2601 development board trial experience] Use FreeRTOS with caution
- Brushless motor drive control hardware circuit sharing
- Share: [Skills Competition Notes 01] Zigbee point-to-point button control program development
- [Popular Science] Working Principle and Function of Inductor
- TI DSP C6000 functional units and execution operations