⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 arm_isr.arm

📁 ARM9 at91rm9200的linux驱动程序全集!超值!
💻 ARM
字号:
;------------------------------------------------------------------------------
;-         ATMEL Microcontroller Software Support  -  ROUSSET  -
;------------------------------------------------------------------------------
; The software is delivered "AS IS" without warranty or condition of any
; kind, either express, implied or statutory. This includes without
; limitation any warranty or condition with respect to merchantability or
; fitness for any particular purpose, or against the infringements of
; intellectual property rights of others.
;------------------------------------------------------------------------------
;- File source          : arm_isr.arm
;- Object               : Assembler Interrupt Handler.
;-
;- Creation 28/Mar/03 JPP  : Creation
;------------------------------------------------------------------------------

;------------------------------------------------------------------------------
;- Area Definition
;------------------------------------------------------------------------------
    .section ".itHandler", .text
    .align  4

#include "../include/AT91RM9200_inc.h"
#include "irq_ghs.mac"

;------------------------------------------------------------------------------
; AT91F_ST_ASM_HANDLER
; ---------------------
;       Handler called by the AIC
;
;	Save context
;       Call C handler
; 	Restore context
;------------------------------------------------------------------------------
    .globl AT91F_ST_ASM_HANDLER
AT91F_ST_ASM_HANDLER:
    .import      AT91F_ST_HANDLER

;- Manage Exception Entry
	IRQ_ENTRY

	ldr     r1, =AT91F_ST_HANDLER
	mov     r14, pc
	bx      r1

;- Manage Exception Exit
        IRQ_EXIT

    .type   AT91F_ST_ASM_HANDLER,$function
    .size   AT91F_ST_ASM_HANDLER,.-AT91F_ST_ASM_HANDLER


    END

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -