8.1 Interrupt Vector Table

The dsPIC33CK512MPT608 family Interrupt Vector Table (IVT), shown in Figure 8-1, resides in program memory, starting at location, 000004h. The IVT contains six non-maskable trap vectors and up to 246 sources of interrupts. In general, each interrupt source has its own vector. Each interrupt vector contains a 24-bit wide address. The value programmed into each interrupt vector location is the starting address of the associated Interrupt Service Routine (ISR).

Figure 8-1. dsPIC33CK512MPT608 Family Interrupt Vector Table (IVT)(1)

Note:
  1. In Dual Partition modes, each partition has a dedicated Interrupt Vector Table.
  2. See Trap Vector Details.

Interrupt vectors are prioritized in terms of their natural priority. This priority is linked to their position in the vector table. Lower addresses generally have a higher natural priority. For example, the interrupt associated with Vector 0 takes priority over interrupts at any other vector address.