writing on the eeprom without disabling external interrupts
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2010-03-29 5:07 AM
Posted on March 29, 2010 at 14:07
writing on the eeprom without disabling external interrupts
This discussion is locked. Please start a new topic to ask your question.
2 REPLIES 2
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2011-05-17 6:07 AM
Posted on May 17, 2011 at 15:07
The STM8 Family documentation says that, if your device has the read while writing feature and your code doesn't program a block, there is no need to disable interrupts.
Even if your code rewrites a block, the interrupts are disabled by hardware... So, in my opinion, there is no need to disable interrupts. Ciao EtaPhiOptions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2011-05-17 6:07 AM
Posted on May 17, 2011 at 15:07
thanks EtaPhi,
as always,you have a deep knowledge of the mcu :) b.r. spectre