📄 i2c_irq.s
字号:
;------------------------------------------------------------------------------
;- ATMEL Microcontroller Software Support - ROUSSET -
;------------------------------------------------------------------------------
;- File source : i2c_irq.s
;- Librarian : Not applicable
;- Translator : ARM Software Development Toolkit V2.11
;-
;- Treatment : Assembler Timer Counter Interrupt Handler.
;- Imported Resources :
;- I2C_lineHandlerInt
;- i2C_line
;-
;- Exported Resources :
;- tc0_interrupt_handler
;-
;- 1.0
;-
;------------------------------------------------------------------------------
;- 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 14/Feb/03 JPP : Creation
;------------------------------------------------------------------------------
;------------------------------------------------------------------------------
;- Area Definition
;------------------------------------------------------------------------------
AREA itHandler, CODE, READONLY
INCLUDE AT91R40008.inc
INCLUDE irq_arm.mac
;------------------------------------------------------------------------------
;- Function : timer1_asm_irq_handler
;- Treatments : Timer 1 interrupt handler.
;- Called Functions : timer1_c_irq_handler
;- Called Macros : IRQ_ENTRY, IRQ_EXIT
;------------------------------------------------------------------------------
EXPORT tc0_interrupt_handler
IMPORT I2C_line
IMPORT I2C_lineHandlerInt
tc0_interrupt_handler
;- Manage Exception Entry
IRQ_ENTRY
;- Call the timer Interrupt C handler
ldr r0,=I2C_line
ldr r1, =I2C_lineHandlerInt
mov r14, pc
bx r1
exit_irq
;- Manage Exception Exit
IRQ_EXIT
END
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -