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

Advantage using software interrupt (SWI)

Hallo

Im just wondering what the advantage is of using software interrupt instead og a function call?

Is the SWI faster? Cant it be disturbed by another interrupt?

/Thomas

Parents
  • A SWI can be interrupted by a FIQ unless these are shutdown manually, but not by an IRQ. Invoking a SWI involved some overhead (see your startup code) - unless you really need it, consider calling a function and disabling interrupts around data that needs to be guarded.

Reply
  • A SWI can be interrupted by a FIQ unless these are shutdown manually, but not by an IRQ. Invoking a SWI involved some overhead (see your startup code) - unless you really need it, consider calling a function and disabling interrupts around data that needs to be guarded.

Children