Quantcast
Channel: Microcontrollers
Viewing all articles
Browse latest Browse all 215945

Forum Post: RE: Terminate a running interrupt routine

$
0
0

[quote user="Nessim Ben Ammar"]no it is not only about the problem, i wanted to know if it is possible, i may use it some day.[/quote]

Unless you are building task switcher, usually you don't need to use direct stack manipulations or through setjmp/longjmp. This is not only dangerous way to do (C) program flow but also indication that you can do better coding :) If you are not sure you know everything about stack, especially what's on stack when ISR's/subroutines execute, then you better think over. Luckily it's your project, not mine :D


Viewing all articles
Browse latest Browse all 215945

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>