Perfect, thank you so much. Hopefully it should solve my problem.
Will this read write operation be affected by DT-Interrupts in any way as they are also running in my code?
Thanks again
Perfect, thank you so much. Hopefully it should solve my problem.
Will this read write operation be affected by DT-Interrupts in any way as they are also running in my code?
Thanks again
___________________
WHY things get boring when they work just fine?
my point of view is to disable interrupts before writing to EEPROM and re-enable after.
For DT Ints ... I do not remember exactly if there's a trick to do that automatically ... I think yes ( something like "DEFINE EEPROM_USED 1" ... may be ), but you'd much better verify on the relevant thread.
Alain
************************************************** ***********************
Why insist on using 32 Bits when you're not even able to deal with the first 8 ones ??? ehhhhhh ...
************************************************** ***********************
IF there is the word "Problem" in your question ...
certainly the answer is " RTFM " or " RTFDataSheet " !!!
*****************************************
From the PBP 2.60 manual:
DEFINE WRITE_INT 1 ‘Disable/Enable INTs in WRITE
If you put this in your DEFINE block, it will turn off your INTs before the WRITE and enable them after the WRITE.
Note that if you include this DEFINE, it will always ENABLE ints when the write is finished, whether or not they were enabled when the WRITE was invoked.
Charles Linquist
Bookmarks