Quantcast
Channel: MPLAB XC16
Viewing all articles
Browse latest Browse all 1508

What is the best way to temporarily disable ISR? (AZ1101)

$
0
0
My code is heavily based upon using ISRs; sometime to synchronize data changes between the main thread and the ISR, the ISR need to be disabled for some period of time. Typically I use the following code to achieve this: uint saved_ipl;
// Enter cr..

Viewing all articles
Browse latest Browse all 1508

Trending Articles



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