📄 waitinterrupt.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 : WaitInterrupt.arm
;- Object : Generic CStartup for Ram run
;- Compilation flag : None
;-
;- 1.0 18/Mar/03 JPP : Creation Green Hills 3.6
;------------------------------------------------------------------------------
.file "WaitInterrupt.arm"
.nothumb
;------------------------------------------------------------------------------
;- Area Definition
;-----------------
;- Must be defined as function to put first in the code as it must be mapped
;- at offset 0 of the flash EBI_CSR0, ie. at address 0 before remap.
;------------------------------------------------------------------------------
.section ".text", .text
.align 4
;-----------------------------------------------------------------------------
;- \fn AT91F_ARM_WaitForInterrupt
;- \brief Wait for interrupt
;-----------------------------------------------------------------------------
;- extern void AT91F_ARM_WaitForInterrupt()
.globl AT91F_ARM_WaitForInterrupt
AT91F_ARM_WaitForInterrupt:
MCR p15, 0, r0, c7, c0, 4
mov pc,lr
.type AT91F_ARM_WaitForInterrupt,$function
.size AT91F_ARM_WaitForInterrupt,.-AT91F_ARM_WaitForInterrupt
END
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -