📄 amisr_usbhost.src
字号:
;
; Copyright (c) Renesas Technology Corp. 2001-2003 All Rights Reserved.
;
; OEM Adaptation Layer
;
; ----------------------------------------------------------------------------
;
; FILE : AMISR_USBHOST.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 UART and IrDA modules
; HISTORY :
; 2001. 7. 5
; - Initially created.
; 2001. 8.22
; - ISR for USB Host module 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
; 2003. 3. 7
; - Add WinCE OEMWake Function
.include "kxshx.h"
.include "oalintr.inc"
.include "platform.inc"
.include "hd64404.inc"
.import _fInterruptWakeup
LEAF_ENTRY HD64404_USBHostISR
mov.l #INTPRI_MASK, r0 ; HD64404 INTC IMR address
mov.l @r0, r1 ; what interrupts are already masked...
mov.l #h'8000000, r2 ; USB interrupt mask value
or r2, r1 ; mask the USB interrupt
mov.l r1, @r0 ; store the new interrupt mask value back
rts
mov #SYSINTR_USB, r0 ; delayed slot instruction
ENTRY_END
.end
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -