I am storing 20 32 bit values in Seeprom starting at 0 adress.
At boot up I want to load all these into a shadow array.
Does this work?
unsigned int LoopVar = 0;
for(LoopVar = 0; LoopVar < 20; LoopVar++)
{
SmartEEpromMemoryShadow[LoopVar] = *(unsigned int *)(SEEPROM_ADDR + 4 * LoopVar);
}
or do I need to pause in the loop for
while (NVMCTRL->SEESTAT.bit.BUSY);
Thanks