Interrupt Vector Table

From SEGGER Wiki
Jump to: navigation, search

An Interrupt Vector Table is a table (an array) pointing to an array of Interrupt Service Routines. Typically, the Interrupt Vector Table is a maintained manually by the programmer (in an ASM file, such as the startup code). Depending on the architecture, that might also be done automatically (by declaring a routine as an interrupt service handler, and preceeding it by a pragma directive). The Interrupt Vector Table can be fixed (such as for ARM Cortex-M0 CPUs) or variable, in which case some sort of "Interrupt Vector Table base register" exists. This typically allows mapping the Interrupt vector table to RAM, so that it can also be modified by the running program.