Datasheet
MSP430F21x1
SLAS439F –SEPTEMBER 2004– REVISED AUGUST 2011
www.ti.com
Interrupt Vector Addresses
The interrupt vectors and the power-up starting address are located in the address range of 0xFFFF to 0xFFC0.
The vector contains the 16-bit address of the appropriate interrupt handler instruction sequence.
If the reset vector (located at address 0xFFFE) contains 0xFFFF (for example, if flash is not programmed), the
CPU goes into LPM4 immediately after power up.
Table 5. Interrupt Vector Addresses
INTERRUPT SOURCE INTERRUPT FLAG SYSTEM INTERRUPT WORD ADDRESS PRIORITY
Power-up PORIFG
External reset RSTIFG
Watchdog WDTIFG Reset 0xFFFE 31, highest
Flash key violation KEYV
(1)
PC out of range
(2)
NMI NMIIFG (non)-maskable
Oscillator fault OFIFG (non)-maskable 0xFFFC 30
Flash memory access violation ACCVIFG
(1)(3)
(non)-maskable
0xFFFA 29
0xFFF8 28
Comparator_A+ CAIFG maskable 0xFFF6 27
Watchdog Timer+ WDTIFG maskable 0xFFF4 26
Timer_A3 TACCR0 CCIFG
(4)
maskable 0xFFF2 25
TACCR2, TACCR1 CCIFG,
Timer_A3 maskable 0xFFF0 24
TAIFG
(1)(4)
0xFFEE 23
0xFFEC 22
0xFFEA 21
0xFFE8 20
I/O port P2 (eight flags) P2IFG.0 to P2IFG.7
(1)(4)
maskable 0xFFE6 19
I/O port P1 (eight flags) P1IFG.0 to P1IFG.7
(1)(4)
maskable 0xFFE4 18
0xFFE2 17
0xFFE0 16
See
(5)
0xFFDE 15
See
(6)
0xFFDC to 0xFFC0 14 to 0, lowest
(1) Multiple source flags
(2) A reset is generated if the CPU tries to fetch instructions from within the module register memory address range (0x0000 to 0x01FF) or
from within unused address range.
(3) (non)-maskable: the individual interrupt-enable bit can disable an interrupt event, but the general interrupt enable cannot.
(4) Interrupt flags are located in the module.
(5) This location is used as bootstrap loader security key (BSLSKEY).
A value of 0xAA55 at this location disables the BSL completely.
A value of 0x0 disables the erasure of the flash if an invalid password is supplied.
(6) The interrupt vectors at addresses 0xFFDC to 0xFFC0 are not used in this device and can be used for regular program code if
necessary.
8 Copyright © 2004–2011, Texas Instruments Incorporated