Quantcast
Channel: Infineon Forums
Viewing all articles
Browse latest Browse all 9892

XMC4700: How to achieve a nested interrupt with Dave Apps?

$
0
0
That's what I'm wondering.

I'm stoppinng the timer in the main loop and not in the interrupt. When I receive the corresponding command I stop the timer in the main loop. But every time I get a status failure for the stop command. The timer keeps going through the value pattern I set to send till it is finished. I can only stop it inside the interrupt
when it gets a certain conditioon


You mean I could create a global variable and when I receive the stop command I change the flag and every time the interrupt is triggered I check the flag status and stop if the flag is active?

thanks

Viewing all articles
Browse latest Browse all 9892

Trending Articles



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