Hi Charles,
Yes. WRITE will automatically clear GIE for you if you have DEFINE WRITE_INT 1 declared.Does this mean that it is no longer necessary to disable INTs before an EEPROM write?
Yes. It sets GIE to re-enable global interrupts whether you're actually using interrupts or not. It assumes you are if you include this define.And does the routine enable interrupts even if they weren't enabled when the routine was entered?




Bookmarks