Non-vectored interrupts

  • All interrupt requests cause the same general handler to run
  • The handler checks each device, with a priority setting determining order, to determine which one or ones set an interrupt
  • When a device with an active interrupt is identified, the appropriate handler will be called
  • Appropriate approach in the case of shared interrupt lines.
  • Downside is that the general handler means that latency will be higher.

Vectored Interrupts

  • Specific interrupt routines are associated with interrupt request lines
  • No need for a general handler
  • Lower latency
  • A fixed priority is usually associated with each vector, and the user may need to configure the interrupt as active, associate a handler (ISR) and set the priority as part of the global initialization of the system.