Interrupt Vector Table - Philips AN10369 Application Note

Uart/spi/i2c code examples
Table of Contents

Advertisement

Philips Semiconductors
Only the first three files are discussed and shown below.

4.4.1 Interrupt Vector table

; ---------------------------------------------------------
;
; ---------------------------------------------------------
Entry
; ---------------------------------------------------------
Undefined_Addr DCD
SWI_Addr
Prefetch_Addr
Abort_Addr
FIQ_Addr
; ---------------------------------------------------------
;
; ---------------------------------------------------------
; The following dummy handlers do not do anything useful in
; this example. They are set up here for completeness.
Undefined_Handler
SWI_Handler
Prefetch_Handler
Abort_Handler
Application note
2. Startup Assembly code
3. Main C file
4. Header file
5. Tool specific file (not shown here)
Assembler Directives
AREA IVT, CODE
CODE32
IMPORT start
LDR
PC, =start
LDR
PC, Undefined_Addr
LDR
PC, SWI_Addr
LDR
PC, Prefetch_Addr
LDR
PC, Abort_Addr
NOP
LDR
PC, [PC, #-0xFF0]
LDR
PC, FIQ_Addr
DCD
DCD
DCD
DCD
Exception Handlers
B
Undefined_Handler
B
SWI_Handler
B
Prefetch_Handler
B
Abort_Handler
Rev. 01 — 06 April 2005
Philips ARM LPC microcontroller family
; New Code section
; ARM code
; start symbol not
; defined in this
; section
; Defines entry point
Undefined_Handler
SWI_Handler
Prefetch_Handler
Abort_Handler
FIQ_Handler
AN10369
© Koninklijke Philips Electronics N.V. 2005. All rights reserved.
10 of 17

Advertisement

Table of Contents
loading

Table of Contents