240 7. RESETS AND INTERRUPTS
7.7 REFERENCES AND FURTHER READING
• MSP430x5xx/MSP430x6xx Family User’s Guide, Texas Instruments, Revised July 2010 -
7.8 CHAPTER PROBLEMS
1. List three different types of resets in the MSP430 microcontroller.
2. State the purpose of resets and interrupts.
3. What is the main difference between a reset and an interrupt?
4. What is the differences between maskable and nonmaskable interrupts?
5. In addition to setting up a local interrupt enable bit, you must also set the global enable bit.
Where is the global enable bit for all MSP430 maskable interrupts? Write an instruction to
enable this global maskable interrupt enable bit.
6. What are the steps one must take to properly conﬁgure a maskable interrupt?
7. When more than one maskable interrupt occurs simultaneously, how does the MSP430 con-
troller decide the order in which the controller service the interrupts?
1. Why did the designers of MSP430 come up with three different types of resets?
2. Refer to the Interrupt Handling Process section and explain the purpose for each of the ten
3. Write a segment of code to initialize the MSP430 microcontroller to operate in the power
save mode LPM3.5 mode and only operate in the normal mode during an interrupt.
1. It is challenging to handle nested interrupts. What might be some applications where nested
interrupts are necessary?
2. Consider the exercise in Section 7.6. Write a program for the central station that accepts the
data from the temperature controller and log them in memory. Use an interrupt service routine
since the power level data is only sent every ﬁve minutes.