dsPIC30F Family Reference Manual
DS70053C-page 6-44 © 2004 Microchip Technology Inc.
6.6 Design Tips
Question 1: What happens when two sources of interrupt become pending at the same
time and have the same user assigned priority level?
Answer: The interrupt source with the highest natural order priority will take precedence. The
natural order priority is determined by the Interrupt Vector Table (IVT) address for that source.
Interrupt sources with a smaller IVT address have a higher natural order priority.
Question 2: Can the DISI instruction be used to disable all sources of interrupt and
traps?
Answer: The DISI instruction does not disable traps or priority level 7 interrupt sources.
However, the DISI instruction can be used as a convenient way to disable all interrupt sources
if no priority level 7 interrupt sources are enabled in the user’s application.