Vector Table Offset Register; Tbloff; Application Interrupt And Reset Control Register - ARM Cortex-M4 Generic User Manual

Table of Contents

Advertisement

4.3.4

Vector Table Offset Register

Bits
Name
[31:7]

TBLOFF

[6:0]
-
4.3.5

Application Interrupt and Reset Control Register

ARM DUI 0553A
ID121610
The VTOR indicates the offset of the vector table base address from memory address
. See the register summary in
0x00000000
assignments are:
31
Function
Vector table base offset field. It contains bits[29:7] of the offset of the table base from the bottom
of the memory map.
Note
Bit[29] determines whether the vector table is in the code or SRAM memory region:
0 = code
1 = SRAM.
In implementations bit[29] is sometimes called the TBLBASE bit.
Reserved.
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
of your device.
Note
Table alignment requirements mean that bits[6:0] of the table offset are always zero.
The AIRCR provides priority grouping control for the exception model, endian status for data
accesses, and reset control of the system. See the register summary in
and
Table 4-17 on page 4-17
To write to this register, you must write
ignores the write.
Copyright © 2010 ARM. All rights reserved.
Non-Confidential
Table 4-12 on page 4-11
TBLOFF
for its attributes.
to the VECTKEY field, otherwise the processor
0x5FA
Cortex-M4 Peripherals
for its attributes. The bit
7 6
Reserved
Table 4-16 VTOR bit assignments
Table 4-12 on page 4-11
0
4-16

Hide quick links:

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the Cortex-M4 and is the answer not in the manual?

Questions and answers

Table of Contents

Save PDF