The VTOR indicates the offset of the vector table base address
from memory address
0x00000000. See the register
summary in Table 4.12 for
its attributes. The bit assignments are:
Vector table base offset field. It contains bits[29:7] of the offset of the table base from the bottom of the memory map.
Bit determines whether the vector table is in the code or SRAM memory region:
In implementations bit is sometimes called the TBLBASE bit.
When setting TBLOFF, you must align the offset to the number of exception entries in the vector table. The minimum alignment is 32 words, enough for up to 16 interrupts. For more interrupts, adjust the alignment by rounding up to the next power of two. For example, if you require 21 interrupts, the alignment must be on a 64-word boundary because the required table size is 37 words, and the next power of two is 64. See your vendor documentation for the alignment details for your device.
Table alignment requirements mean that bits[6:0] of the table offset are always zero.