130 lines
3.4 KiB
ArmAsm
130 lines
3.4 KiB
ArmAsm
|
|
// Automatically generated file. DO NOT EDIT.
|
||
|
|
// Generated by gen-device-svd.go from LPC11Cxx_v9.svd, see https://github.com/posborne/cmsis-svd/tree/master/data/NXP
|
||
|
|
|
||
|
|
/*
|
||
|
|
// LPC11Cxx
|
||
|
|
*/
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
.syntax unified
|
||
|
|
|
||
|
|
// This is the default handler for interrupts, if triggered but not defined.
|
||
|
|
.section .text.Default_Handler
|
||
|
|
.global Default_Handler
|
||
|
|
.type Default_Handler, %function
|
||
|
|
Default_Handler:
|
||
|
|
wfe
|
||
|
|
b Default_Handler
|
||
|
|
.size Default_Handler, .-Default_Handler
|
||
|
|
|
||
|
|
// Avoid the need for repeated .weak and .set instructions.
|
||
|
|
.macro IRQ handler
|
||
|
|
.weak \handler
|
||
|
|
.set \handler, Default_Handler
|
||
|
|
.endm
|
||
|
|
|
||
|
|
// Must set the "a" flag on the section:
|
||
|
|
// https://svnweb.freebsd.org/base/stable/11/sys/arm/arm/locore-v4.S?r1=321049&r2=321048&pathrev=321049
|
||
|
|
// https://sourceware.org/binutils/docs/as/Section.html#ELF-Version
|
||
|
|
.section .isr_vector, "a", %progbits
|
||
|
|
.global __isr_vector
|
||
|
|
__isr_vector:
|
||
|
|
// Interrupt vector as defined by Cortex-M, starting with the stack top.
|
||
|
|
// On reset, SP is initialized with *0x0 and PC is loaded with *0x4, loading
|
||
|
|
// _stack_top and Reset_Handler.
|
||
|
|
.long _stack_top
|
||
|
|
.long Reset_Handler
|
||
|
|
.long NMI_Handler
|
||
|
|
.long HardFault_Handler
|
||
|
|
.long MemoryManagement_Handler
|
||
|
|
.long BusFault_Handler
|
||
|
|
.long UsageFault_Handler
|
||
|
|
.long 0
|
||
|
|
.long 0
|
||
|
|
.long 0
|
||
|
|
.long 0
|
||
|
|
.long SVC_Handler
|
||
|
|
.long DebugMon_Handler
|
||
|
|
.long 0
|
||
|
|
.long PendSV_Handler
|
||
|
|
.long SysTick_Handler
|
||
|
|
|
||
|
|
// Extra interrupts for peripherals defined by the hardware vendor.
|
||
|
|
.long PIO0_0_IRQHandler
|
||
|
|
.long PIO0_1_IRQHandler
|
||
|
|
.long PIO0_2_IRQHandler
|
||
|
|
.long PIO0_3_IRQHandler
|
||
|
|
.long PIO0_4_IRQHandler
|
||
|
|
.long PIO0_5_IRQHandler
|
||
|
|
.long PIO0_6_IRQHandler
|
||
|
|
.long PIO0_7_IRQHandler
|
||
|
|
.long PIO0_8_IRQHandler
|
||
|
|
.long PIO0_9_IRQHandler
|
||
|
|
.long PIO0_10_IRQHandler
|
||
|
|
.long PIO0_11_IRQHandler
|
||
|
|
.long PIO1_0_IRQHandler
|
||
|
|
.long C_CAN_IRQHandler
|
||
|
|
.long SPI1_IRQHandler
|
||
|
|
.long I2C_IRQHandler
|
||
|
|
.long CT16B0_IRQHandler
|
||
|
|
.long CT16B1_IRQHandler
|
||
|
|
.long CT32B0_IRQHandler
|
||
|
|
.long CT32B1_IRQHandler
|
||
|
|
.long SPI0_IRQHandler
|
||
|
|
.long UART_IRQHandler
|
||
|
|
.long 0
|
||
|
|
.long 0
|
||
|
|
.long ADC_IRQHandler
|
||
|
|
.long WDT_IRQHandler
|
||
|
|
.long BOD_IRQHandler
|
||
|
|
.long FMC_IRQHandler
|
||
|
|
.long GPIO3_IRQHandler
|
||
|
|
.long GPIO2_IRQHandler
|
||
|
|
.long GPIO1_IRQHandler
|
||
|
|
.long GPIO0_IRQHandler
|
||
|
|
|
||
|
|
// Define default implementations for interrupts, redirecting to
|
||
|
|
// Default_Handler when not implemented.
|
||
|
|
IRQ NMI_Handler
|
||
|
|
IRQ HardFault_Handler
|
||
|
|
IRQ MemoryManagement_Handler
|
||
|
|
IRQ BusFault_Handler
|
||
|
|
IRQ UsageFault_Handler
|
||
|
|
IRQ SVC_Handler
|
||
|
|
IRQ DebugMon_Handler
|
||
|
|
IRQ PendSV_Handler
|
||
|
|
IRQ SysTick_Handler
|
||
|
|
IRQ PIO0_0_IRQHandler
|
||
|
|
IRQ PIO0_1_IRQHandler
|
||
|
|
IRQ PIO0_2_IRQHandler
|
||
|
|
IRQ PIO0_3_IRQHandler
|
||
|
|
IRQ PIO0_4_IRQHandler
|
||
|
|
IRQ PIO0_5_IRQHandler
|
||
|
|
IRQ PIO0_6_IRQHandler
|
||
|
|
IRQ PIO0_7_IRQHandler
|
||
|
|
IRQ PIO0_8_IRQHandler
|
||
|
|
IRQ PIO0_9_IRQHandler
|
||
|
|
IRQ PIO0_10_IRQHandler
|
||
|
|
IRQ PIO0_11_IRQHandler
|
||
|
|
IRQ PIO1_0_IRQHandler
|
||
|
|
IRQ C_CAN_IRQHandler
|
||
|
|
IRQ SPI1_IRQHandler
|
||
|
|
IRQ I2C_IRQHandler
|
||
|
|
IRQ CT16B0_IRQHandler
|
||
|
|
IRQ CT16B1_IRQHandler
|
||
|
|
IRQ CT32B0_IRQHandler
|
||
|
|
IRQ CT32B1_IRQHandler
|
||
|
|
IRQ SPI0_IRQHandler
|
||
|
|
IRQ UART_IRQHandler
|
||
|
|
IRQ ADC_IRQHandler
|
||
|
|
IRQ WDT_IRQHandler
|
||
|
|
IRQ BOD_IRQHandler
|
||
|
|
IRQ FMC_IRQHandler
|
||
|
|
IRQ GPIO3_IRQHandler
|
||
|
|
IRQ GPIO2_IRQHandler
|
||
|
|
IRQ GPIO1_IRQHandler
|
||
|
|
IRQ GPIO0_IRQHandler
|
||
|
|
|
||
|
|
.size __isr_vector, .-__isr_vector
|