irq_wd.s
来自「详细介绍了arm7-at91r40008,的开发全过程」· S 代码 · 共 52 行
S
52 行
;------------------------------------------------------------------------------
;- 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 : irq_wd.s
;- Object : Assembler watchdog Interrupt Handler.
;-
;- 1.0 14/Feb/03 JPP : Creation
;------------------------------------------------------------------------------
;------------------------------------------------------------------------------
;- Area Definition
;------------------------------------------------------------------------------
AREA itHandler, CODE, READONLY
INCLUDE ../../../parts/r40008/r40008.inc
INCLUDE irq_arm.mac
;------------------------------------------------------------------------------
;- Function : wd_asm_irq_handler
;- Treatments : watchdog Interrupt Handler.
;- Called Functions : watchdog_interrupt
;- Called Macros : IRQ_ENTRY, IRQ_EXIT
;------------------------------------------------------------------------------
EXPORT at91_watch_dog_interrupt_handler
IMPORT watchdog_interrupt
at91_watch_dog_interrupt_handler
;- Manage Exception Entry
IRQ_ENTRY
;- Call the PIO Interrupt C handler
ldr r0, =watchdog_interrupt
mov r14, pc
bx r0
;- Irq exit
exit_irq
;- Manage Exception Exit
IRQ_EXIT
END
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?