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

📄 irq_pio.s

📁 本程序包是基于EMBEST IDE FOR ARM下的ATMEL的AT91系列的MCU程序代码,其中有LED,中断,TIMER,UCOS移植等等.
💻 S
字号:
#------------------------------------------------------------------------------
#-         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_pio.s
#- Object               : Assembler PIO Controller Interrupt Handler.
#-
#- 1.0 00/00/00 JCZ     : Creation
#- 1.1 02/11/00 JPP     : Green Hills
#------------------------------------------------------------------------------

#            AREA        IrqPio, CODE, READONLY, INTERWORK

            .INCLUDE     "../../periph/aic/irq.mac"
            .INCLUDE     "../../periph/pio/pio.inc"

            .extern      pio_c_irq_handler

#------------------------------------------------------------------------------
#- Function             : pio_interrupt_handler
#- Treatments           : Parallel IO Controller Interrupt Handler.
#- Called Functions     : pioa_irq_handler
#- Called Macros        : IRQ_ENTRY, IRQ_EXIT
#------------------------------------------------------------------------------
            .global      pio_asm_irq_handler

pio_asm_irq_handler:

#- Manage Exception Entry
            IRQ_ENTRY

#- Call the PIO Interrupt C handler 
            ldr         r0, =pio_c_irq_handler
            mov         r14, pc
            bx          r0
            
#- Manage Exception Exit
            IRQ_EXIT
            
#           END

⌨️ 快捷键说明

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