Skip to main content
Visitor II
March 29, 2010
Question

writing on the eeprom without disabling external interrupts

  • March 29, 2010
  • 2 replies
  • 566 views
Posted on March 29, 2010 at 14:07

writing on the eeprom without disabling external interrupts

    This topic has been closed for replies.

    2 replies

    Visitor II
    May 17, 2011
    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

    EtaPhi

    Visitor II
    May 17, 2011
    Posted on May 17, 2011 at 15:07

    thanks EtaPhi,

    as always,you have a deep knowledge of the mcu :)

    b.r.

    spectre