SWCU193A April 2023 – August 2024 CC2340R2 , CC2340R5 , CC2340R5-Q1
The vector table contains the reset value of the stack pointer, and the start addresses, also called exception vectors, for all exception handlers. Table 4-2 shows the order of the exception vectors in the vector table. The least-significant bit of each vector must be 1, indicating that the exception handler is written in Thumb code.
Exception Number | IRQ Number | Vector | Offset |
---|---|---|---|
16+n | n | IRQ n | 0x40 + 4n |
. | . | . | |
. | . | . | |
. | . | . | |
18 | 2 | IRQ2 | 0x48 |
17 | 1 | IRQ1 | 0x44 |
16 | 0 | IRQ0 | 0x40 |
15 | -1 | SysTick | 0x3C |
14 | -2 | PendSV | 0x38 |
13 | Reserved | ||
12 | |||
11 | -5 | SVCall | 0x2C |
10 | Reserved | ||
9 | |||
8 | |||
7 | |||
6 | |||
5 | |||
4 | |||
3 | -13 | HardFault | 0x0C |
2 | -14 | NMI | 0x08 |
1 | Reset | 0x04 | |
Initial SP Value | 0x00 |
The vector table is fixed at address 0x00000000.