Humberto
Joined: 08 Sep 2003 Posts: 1215 Location: Buenos Aires, La Reina del Plata
|
|
Posted: Wed Feb 20, 2008 8:40 am |
|
|
There is not any general rule for this.
It is imposed by the priority of the various tasks running in a project, and depends of what kind of data you need to write in EEPROM.
If it is a data that is being stored at regular intervals, it doesn't matter if it is done a few milliseconds later.
If it is a data that you need to store in EEPROM after an unwanted power-fail, you do not have anything more important to do that - first of all - to disable ALL the interrupts and begin the writing procedure before the shut-off of the residual power.
Humberto |
|