Go Down

Topic: Interrupt / EEPROM question (Read 1 time) previous topic - next topic

bajdik

Hello,
If I want to write something to EEPROM, Should I disable interrupts or arduino does it automatically for me  ?

Thank you for your answer.

Jack Christensen

If you are planning to use the Arduino EEPROM library, no manipulation of interrupts is needed. This library uses a simple polled approach, as opposed to interrupt-controlled EEPROM access. Just out of curiosity, why did you think interrupts needed to be disabled?
MCP79411/12 RTC ... "One Million Ohms" ATtiny kit ... available at http://www.tindie.com/stores/JChristensen/

bajdik

I thought writing the EEPROM must be continuous without interruption.
Thank you for your answer.

Jack Christensen

I'm thinking the hardware probably handles it asynchronously.
MCP79411/12 RTC ... "One Million Ohms" ATtiny kit ... available at http://www.tindie.com/stores/JChristensen/

Go Up
 


Please enter a valid email to subscribe

Confirm your email address

We need to confirm your email address.
To complete the subscription, please click the link in the email we just sent you.

Thank you for subscribing!

Arduino
via Egeo 16
Torino, 10131
Italy