Quantcast
Channel: MPLAB Harmony
Viewing all articles
Browse latest Browse all 7442

How to trap (or not) integer divide by zero? (rdpoor)

$
0
0
Question: How do I enable or disable the trapping of divide by zero? Details: I have two apps, both of which execute the following line of code:baudValue = (spiSourceClock/(2U*(setup->clockFrequency))) - 1U;... and in both cases setup->clockFrequency is z..

Viewing all articles
Browse latest Browse all 7442

Trending Articles



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