150 lines
4.8 KiB
ArmAsm
150 lines
4.8 KiB
ArmAsm
// Automatically generated file. DO NOT EDIT.
|
|
// Generated by gen-device-svd.go from R7FA2E2A7.svd, see https://github.com/cmsis-svd/cmsis-svd-data/tree/master/data/Renesas
|
|
|
|
/*
|
|
// Arm Cortex-M23 based Microcontroller RA2E2 device
|
|
*/
|
|
|
|
// This software is supplied by Renesas Electronics Corporation and is only intended for
|
|
// use with Renesas products. No other uses are authorized. This software is owned by
|
|
// Renesas Electronics Corporation and is protected under all applicable laws, including
|
|
// copyright laws.
|
|
//
|
|
// THIS SOFTWARE IS PROVIDED "AS IS" AND RENESAS MAKES NO WARRANTIES REGARDING
|
|
// THIS SOFTWARE, WHETHER EXPRESS, IMPLIED OR STATUTORY, INCLUDING BUT NOT LIMITED TO
|
|
// WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT.
|
|
// ALL SUCH WARRANTIES ARE EXPRESSLY DISCLAIMED. TO THE MAXIMUM EXTENT PERMITTED NOT
|
|
// PROHIBITED BY LAW, NEITHER RENESAS ELECTRONICS CORPORATION NOR ANY OF ITS AFFILIATED
|
|
// COMPANIES SHALL BE LIABLE FOR ANY DIRECT, INDIRECT, SPECIAL, INCIDENTAL OR CONSEQUENTIAL
|
|
// DAMAGES FOR ANY REASON RELATED TO THIS SOFTWARE, EVEN IF RENESAS OR ITS AFFILIATES HAVE
|
|
// BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
|
|
//
|
|
// Renesas reserves the right, without notice, to make changes to this software and to
|
|
// discontinue the availability of this software. By using this software, you agree to
|
|
// the additional terms and conditions found by accessing the following link:
|
|
// http://www.renesas.com/disclaimer
|
|
// \n
|
|
|
|
.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 IEL0_IRQHandler
|
|
.long IEL1_IRQHandler
|
|
.long IEL2_IRQHandler
|
|
.long IEL3_IRQHandler
|
|
.long IEL4_IRQHandler
|
|
.long IEL5_IRQHandler
|
|
.long IEL6_IRQHandler
|
|
.long IEL7_IRQHandler
|
|
.long IEL8_IRQHandler
|
|
.long IEL9_IRQHandler
|
|
.long IEL10_IRQHandler
|
|
.long IEL11_IRQHandler
|
|
.long IEL12_IRQHandler
|
|
.long IEL13_IRQHandler
|
|
.long IEL14_IRQHandler
|
|
.long IEL15_IRQHandler
|
|
.long IEL16_IRQHandler
|
|
.long IEL17_IRQHandler
|
|
.long IEL18_IRQHandler
|
|
.long IEL19_IRQHandler
|
|
.long IEL20_IRQHandler
|
|
.long IEL21_IRQHandler
|
|
.long IEL22_IRQHandler
|
|
.long IEL23_IRQHandler
|
|
.long IEL24_IRQHandler
|
|
.long IEL25_IRQHandler
|
|
.long IEL26_IRQHandler
|
|
.long IEL27_IRQHandler
|
|
.long IEL28_IRQHandler
|
|
.long IEL29_IRQHandler
|
|
.long IEL30_IRQHandler
|
|
.long IEL31_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 IEL0_IRQHandler
|
|
IRQ IEL1_IRQHandler
|
|
IRQ IEL2_IRQHandler
|
|
IRQ IEL3_IRQHandler
|
|
IRQ IEL4_IRQHandler
|
|
IRQ IEL5_IRQHandler
|
|
IRQ IEL6_IRQHandler
|
|
IRQ IEL7_IRQHandler
|
|
IRQ IEL8_IRQHandler
|
|
IRQ IEL9_IRQHandler
|
|
IRQ IEL10_IRQHandler
|
|
IRQ IEL11_IRQHandler
|
|
IRQ IEL12_IRQHandler
|
|
IRQ IEL13_IRQHandler
|
|
IRQ IEL14_IRQHandler
|
|
IRQ IEL15_IRQHandler
|
|
IRQ IEL16_IRQHandler
|
|
IRQ IEL17_IRQHandler
|
|
IRQ IEL18_IRQHandler
|
|
IRQ IEL19_IRQHandler
|
|
IRQ IEL20_IRQHandler
|
|
IRQ IEL21_IRQHandler
|
|
IRQ IEL22_IRQHandler
|
|
IRQ IEL23_IRQHandler
|
|
IRQ IEL24_IRQHandler
|
|
IRQ IEL25_IRQHandler
|
|
IRQ IEL26_IRQHandler
|
|
IRQ IEL27_IRQHandler
|
|
IRQ IEL28_IRQHandler
|
|
IRQ IEL29_IRQHandler
|
|
IRQ IEL30_IRQHandler
|
|
IRQ IEL31_IRQHandler
|
|
|
|
.size __isr_vector, .-__isr_vector
|