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

Turning off optimisation for a section of code? (arigead)

$
0
0
I'm trying to use 'Nop()' instructions to time very short durations where starting a HW timer isn't worth the effort, so we're down in the uS teritory. At a certain duration you'd certainly start a HW timer but below some threshold you might as well pause..

Viewing all articles
Browse latest Browse all 1508

Trending Articles



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