📄 amisr_usbfunc.src
字号:
;
; Copyright (c) Renesas Technology Corp. 2001-2003 All Rights Reserved.
;
; OEM Adaptation Layer
;
; ----------------------------------------------------------------------------
;
; FILE : AMISR_USBFUNC.SRC
; CREATED : 2001. 7. 5
; MODIFIED : 2003.08.06
; AUTHOR : Renesas Technology Corp.
; HARDWARE : RENESAS US7751-HRP1xC (BigSur with HD64404, ITS-DS2A),
; RENESAS HS7751RSTC01H (S1-E, ITS-DS5)
; TARGET OS : Microsoft(R) Windows(R) CE .NET 4.2
; NOTES :
; FUNCTION : Interrupt service routine for HD64404 USB Function module
; HISTORY :
; 2001. 7. 5
; - Initially created.
; 2001. 9.21
; - ISR for USB Function is implemented.
; 2002. 1.21
; - Address parameters are changed to refer "HD64404.INC".
; 2002. 5.30
; - Changed to include platform-independent platform include
; file "PLATFORM.INC".
; 2002. 9. 9
; - Header style is changed and file information is added.
; 2002. 9.26
; - Released
.include "kxshx.h"
.include "oalintr.inc"
.include "platform.inc"
.include "hd64404.inc"
LEAF_ENTRY HD64404_USBFunctionISR
mov.l #INTPRI_MASK, r0 ; HD64404 INTC IMR address
mov.l @r0, r1 ; what interrupts are already masked...
mov.l #h'4000000, r2 ; USB_function interrupt mask value
or r2, r1 ; mask the USB_function interrupt
mov.l r1, @r0 ; store the new interrupt mask value back
rts
mov #SYSINTR_USBF, r0
mov #SYSINTR_NOP, r0
ENTRY_END
.end
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -