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

📄 irq_timer.arm

📁 AT91M55800A材料-BasicTimer
💻 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          : irq_timer.s
;- Object               : Assembler timer Interrupt Handler.
;-
;- 1.0 09/Apr/03 JPP    : Creation
;------------------------------------------------------------------------------

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

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

;------------------------------------------------------------------------------
;- Function             : timer_asm_irq_handler
;- Treatments           : Timer  interrupt handler.
;- Called Functions     : timer_c_irq_handler
;- Called Macros        : IRQ_ENTRY, IRQ_EXIT
;------------------------------------------------------------------------------
    .globl timer_asm_irq_handler
timer_asm_irq_handler:
            .import      timer_c_irq_handler

;- Manage Exception Entry
        IRQ_ENTRY

;- Call the timer Interrupt C handler
            ldr         r1, =timer_c_irq_handler
            mov         r14, pc
            bx          r1
;- Irq exit
;- Manage Exception Exit
        IRQ_EXIT

    .type   timer_asm_irq_handler,$function
    .size   timer_asm_irq_handler,.-timer_asm_irq_handler


            END

⌨️ 快捷键说明

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