Quantcast
Channel: MSP low-power microcontrollers
Viewing all articles
Browse latest Browse all 63898

Forum Post: RE: MSP430FR5969: GCC v5.3.0.219 using persistent attribute

$
0
0
Hi Peter, The persistent attribute has more to do with where the variables are stored in memory and initialized at startup as compared to how the variable is updated. Please view Section 5 of SLAA628 for more information: www.ti.com/.../slaa628.pdf Your code needs to use a static variable as compared to automatic, please refer to the the answer of this forum post: stackoverflow.com/.../difference-between-static-auto-global-and-local-variable-in-the-context-of-c-a Regards, Ryan

Viewing all articles
Browse latest Browse all 63898

Trending Articles



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