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

Bit corruption, XC16 uses read modify write instead of bclr f,#bit4 ? (user2x)

$
0
0
XC16 1.45 PIC24FJ64GA702This is related bit corruption caused by interaction of interrupt code and normal code The compiler uses read modify write instead of direct bit operation BCLR f,#bit4 I have a bit union/struct as follows:

..

Viewing all articles
Browse latest Browse all 1508

Trending Articles



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