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
- Popular Resources
- Popular amplifiers
- 【ON Semiconductor】LC87F7932B8-bit single-chip microcontroller
- USB Complete The Developer\'s Guide 5ed (USB Development Complete 5th Edition)
- Introducing the application of multiplication and division instructions with interrupt functions of C16x series microcontrollers
- MSP430-PWM is easy to understand
- Naxin Micro and Xinxian jointly launched the NS800RT series of real-time control MCUs
- How to learn embedded systems based on ARM platform
- Summary of jffs2_scan_eraseblock issues
- Application of SPCOMM Control in Serial Communication of Delphi7.0
- Using TComm component to realize serial communication in Delphi environment
- Bar chart code for embedded development practices
- Embedded Development Learning (10)
- Embedded Development Learning (8)
- Embedded Development Learning (6)
Professor at Beihang University, dedicated to promoting microcontrollers and embedded systems for over 20 years.
- Intel promotes AI with multi-dimensional efforts in technology, application, and ecology
- ChinaJoy Qualcomm Snapdragon Theme Pavilion takes you to experience the new changes in digital entertainment in the 5G era
- Infineon's latest generation IGBT technology platform enables precise control of speed and position
- Two test methods for LED lighting life
- Don't Let Lightning Induced Surges Scare You
- Application of brushless motor controller ML4425/4426
- Easy identification of LED power supply quality
- World's first integrated photovoltaic solar system completed in Israel
- Sliding window mean filter for avr microcontroller AD conversion
- What does call mean in the detailed explanation of ABB robot programming instructions?
- STMicroelectronics discloses its 2027-2028 financial model and path to achieve its 2030 goals
- 2024 China Automotive Charging and Battery Swapping Ecosystem Conference held in Taiyuan
- State-owned enterprises team up to invest in solid-state battery giant
- The evolution of electronic and electrical architecture is accelerating
- The first! National Automotive Chip Quality Inspection Center established
- BYD releases self-developed automotive chip using 4nm process, with a running score of up to 1.15 million
- GEODNET launches GEO-PULSE, a car GPS navigation device
- Should Chinese car companies develop their own high-computing chips?
- Infineon and Siemens combine embedded automotive software platform with microcontrollers to provide the necessary functions for next-generation SDVs
- Continental launches invisible biometric sensor display to monitor passengers' vital signs
- Master these techniques and you can easily master DC-DC circuits!
- Xiaobai wants to learn
- A question about 51 compilation, please help me take a look
- There are always reports of layoffs at major domestic companies. Is the domestic economic environment really getting worse?
- Division of the electromagnetic spectrum
- China's broadband household users will reach 130 million in 2010
- How to identify the quality of PCB circuit boards?
- Calculation of voltage amplification factor under deep negative feedback
- Answers to some questions raised in the review of Espressif's ESP32-S2-Kaluga-1 development board
- ST MEMS Device Resource Library-Device Application Guide