📄 isr.s
字号:
.module isr.c
.area text(rom, con, rel)
.dbfile ./isr.c
.dbfunc e isr_enable _isr_enable fV
; isr -> X-4
_isr_enable::
.dbline -1
push X
mov X,SP
.dbline 108
.dbline 109
mov A,[_enabled_isrs]
or A,[X-4]
mov [_enabled_isrs],A
.dbline 111
cmp [X-4],2
jnz L3
.dbline 112
.dbline 114
or REG[0xb],96
.dbline 115
or REG[0xc],96
.dbline 117
or REG[0xe0],16
.dbline 118
L3:
.dbline -2
.dbline 119
; //--------------------------------------------------------------------------
; //
; /// Filename: isr.c
; //
; // Description:
; // \file
; /// This module provides a mechanism to manage multiple GPIO interrupt
; /// sources.
; //
; //--------------------------------------------------------------------------
; // $Archive: /WiredUSB/Wired USB Kits/CY4623 - Mouse RDK/DocSrc/CD_Root/Firmware/CY4623/isr.c $
; // $Modtime: 6/13/05 9:21a $
; // $Revision: 8 $
; //--------------------------------------------------------------------------
; //
; // Copyright 2003-2004, Cypress Semiconductor Corporation.
; //
; // This software is owned by Cypress Semiconductor Corporation (Cypress)
; // and is protected by and subject to worldwide patent protection (United
; // States and foreign), United States copyright laws and international
; // treaty provisions. Cypress hereby grants to licensee a personal,
; // non-exclusive, non-transferable license to copy, use, modify, create
; // derivative works of, and compile the Cypress Source Code and derivative
; // works for the sole purpose of creating custom software in support of
; // licensee product to be used only in conjunction with a Cypress integrated
; // circuit as specified in the applicable agreement. Any reproduction,
; // modification, translation, compilation, or representation of this
; // software except as specified above is prohibited without the express
; // written permission of Cypress.
; //
; // Disclaimer: CYPRESS MAKES NO WARRANTY OF ANY KIND, EXPRESS OR IMPLIED,
; // WITH REGARD TO THIS MATERIAL, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
; // WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
; // Cypress reserves the right to make changes without further notice to the
; // materials described herein. Cypress does not assume any liability arising
; // out of the application or use of any product or circuit described herein.
; // Cypress does not authorize its products for use as critical components in
; // life-support systems where a malfunction or failure may reasonably be
; // expected to result in significant injury to the user. The inclusion of
; // Cypress
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -