Quantcast
Channel: Microcontrollers
Viewing all articles
Browse latest Browse all 216333

Forum Post: RE: MSP430f6723 - NOINIT for some RAM variables

$
0
0

Hi,

I've found that using 

#pragma NOINIT (variable_name)

unsigned long variable_name;

will not initialize the variable on soft reset (when power is supplied throughout reset).

This worked with structures, also.

Thanks,

Mechi


Viewing all articles
Browse latest Browse all 216333

Trending Articles