cancel
Showing results for 
Search instead for 
Did you mean: 

Why does my interrupt stop working after I jump to a different area of execution?

arnold_w
Senior II
Posted on June 15, 2016 at 18:57

 

 

The original post was too long to process during our migration. Please click on the attachment to read the original post.
3 REPLIES 3
Posted on June 15, 2016 at 19:43

Does anybody know why my button interrupt isn't working in the application in this case?

Can't transfer control like this in interrupt context.

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..
arnold_w
Senior II
Posted on June 15, 2016 at 21:20

What about NVIC_SystemReset, it it safe to call from an interrupt context or will it make the microcontroller run unreliably?

Posted on June 15, 2016 at 21:25

It is going to reset the chip from where ever you call it, unless someone has tied NRST to VCC.

As I recall it is specified to generate a fixed duration pulse.

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..