Loading...
Pages: [1]   Go Down
Author Topic: Interrupt / EEPROM question  (Read 730 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Newbie
*
Karma: 0
Posts: 2
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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.
Logged

Grand Blanc, MI, USA
Offline Offline
Faraday Member
**
Karma: 43
Posts: 2518
"We're a proud service of the Lost Electricity Reclamation Agency"
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

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?
Logged

Get the infamous "One Million Ohms" board at tINDIE.com: http://tinyurl.com/BuyMohms

Offline Offline
Newbie
*
Karma: 0
Posts: 2
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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

Grand Blanc, MI, USA
Offline Offline
Faraday Member
**
Karma: 43
Posts: 2518
"We're a proud service of the Lost Electricity Reclamation Agency"
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

I'm thinking the hardware probably handles it asynchronously.
Logged

Get the infamous "One Million Ohms" board at tINDIE.com: http://tinyurl.com/BuyMohms

Pages: [1]   Go Up
Print
 
Jump to: