📄 asm_isr.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 : Example of IT handler calling a C function
;- Compilation flag : None
;-
;- 1.0 16/03/01 ODi, : Creation ARM ADS
;- 1.1 15/Jan/03 JPP, : Set for green Hills
;------------------------------------------------------------------------------
#include "AT91RM9200_inc.h"
#include "irq_ghs.mac"
;------------------------------------------------------------------------------
;- Area Definition
;------------------------------------------------------------------------------
.section ".reset", .text
.align 4
;------------------------------------------------------------------------------
; AT91F_ASM_I2S_Handler
; ---------------------
; Handler called by the AIC
;
; Save context
; Call C handler
; Restore context
;------------------------------------------------------------------------------
.globl AT91F_ASM_I2S_Handler
.import AT91F_I2S_Handler
AT91F_ASM_I2S_Handler:
IRQ_ENTRY
ldr r1, =AT91F_I2S_Handler
mov r14, pc
bx r1
IRQ_EXIT
.type AT91F_ASM_I2S_Handler,$function
.size AT91F_ASM_I2S_Handler,.-AT91F_ASM_I2S_Handler
;------------------------------------------------------------------------------
END
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -