EasyManuals Logo

Texas Instruments MSP430 Student Guide

Texas Instruments MSP430
398 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #239 background imageLoading...
Page #239 background image
Lab 5 Interrupts
22. Comment out the PORT1_VECTOR from unused_interrupts.c.
23. Try building it again
It should work this time… our fingers are crossed for you.
24. Launch the debugger.
25. Remove all breakpoints.
View Breakpoints then click the Remove All button
26. Set a new breakpoint inside your new ISR.
27. Run your codence the code is running, push the button to generate an interrupt.
The processor should stop at your ISR (location shown above). Breakpoints like this can
make it easier to see that we reached the interrupt. (A good debugging trick.)
28. Resuming once again, at this point inside the ISR should toggle-on the LED.
If it works, call out “Hooray!”
29. Push the button again.
Hmmm… did you get another interrupt? We didn’t appear to.
We didn’t see the light toggle-off and we didn’t stop at the breakpoint inside the ISR.
Some of you may have already known this was going to happen. If you’re still unsure, go
back to Step 13 from our worksheet (page 5-41). We discussed it there.
MSP430 Workshop - Interrupts 5 - 49

Table of Contents

Other manuals for Texas Instruments MSP430

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Texas Instruments MSP430 and is the answer not in the manual?

Texas Instruments MSP430 Specifications

General IconGeneral
BrandTexas Instruments
ModelMSP430
CategoryMicrocontrollers
LanguageEnglish

Related product manuals