This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Global Interruption Disable/Enable

Which is the easiest way for Global Interruptions Disable/Enable in CA for LPC2129?

Varuzhan

Parents Reply Children
  • The __swi method is really nice, but sometimes one will not want to have a function call overhead to protect only a couple of instructions.

    Isn't the __swi call less code (and overhead) than disabling interrupts?

    do the methods, mentioned in whole this topik, including the __swi, protect from Spurious Interrupts?

    Masking interrupts inhibits interrupts (spurious or not). However, a spurious interrupt is an unexpected interrupt. Once interrupts are unmasked, the spurious interrupt triggers. Then, the interrupt handler will need to handle it.

    Jon