📄 mouse.s
字号:
.module mouse.c
.area data(ram, con, rel)
_is_ps2::
.blkb 1
.area idata
.byte 1
.area data(ram, con, rel)
.dbfile ./mouse.c
.dbsym e is_ps2 _is_ps2 c
_shouldSuspend::
.blkb 1
.area idata
.byte 0
.area data(ram, con, rel)
.dbfile ./mouse.c
.dbsym e shouldSuspend _shouldSuspend c
.area text(rom, con, rel)
.dbfile ./mouse.c
.dbfunc e main _main fV
; i -> X+0
_main::
.dbline -1
push X
mov X,SP
add SP,2
.dbline 142
; //--------------------------------------------------------------------------
; //
; // Filename mouse.c
; //
; // Description:
; //
; /// \file
; /// This module provides the main entry point and routines to assist with
; /// mouse initialization, USB suspend/resume, scanning the buttons and optical
; /// sensor, and sending mouse reportes.
; //
; //--------------------------------------------------------------------------
; // $Archive: /WiredUSB/Wired USB Kits/CY4623 - Mouse RDK/DocSrc/CD_Root/Firmware/CY4623/mouse.c $
; // $Modtime: 8/12/05 9:50a $
; // $Revision: 8 $
; //--------------------------------------------------------------------------
; //
; // Copyright 2003-2005, 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 + -