亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? ex.lst

?? 這是使用CYPRESS的7C637xx芯片完成USB鼠標的例子。
?? LST
?? 第 1 頁 / 共 5 頁
字號:
CYASM Version 1.91
(C) 1998,1999,2000 Cypress Semiconductor Corp.

0000            ;***************************************************************************
0000            ;
0000            ; File: 637mouse.asm
0000            ; Version: 1.02
0000            ; Description: This code provides both PS/2 and USB support for a combi
0000            ;              mouse
0000            ; Target: Cypress CY7C63743
0000            ;
0000            ; Overview
0000            ;        On power up, the firmware starts executing code at address 0h. 
0000            ; After some housekeeping tasks it will determine whether it is attached to
0000            ; a USB or a PS2 interface. From that, it will branch either to USB_Main or
0000            ; PS2_Main.
0000            ;
0000            ; PS2 Overview
0000            ;        There are four main tasks:
0000            ;        * PS2_Main
0000            ;        * buttons (common to USB and PS2)
0000            ;        * optics (common to USB and PS2)
0000            ;        * PS2_DoCommand - processing of PS2 commands from host
0000            ;
0000            ; PS2_Main
0000            ;        This routine initializes the PS2 variables, the IO ports, computes
0000            ; the (X,Y) coordinates of mouse movement, the Z-coordinate of wheel motion,
0000            ; if needed, determines which button has been pressed and sends out a mouse 
0000            ; packet to a host.
0000            ;
0000            ; PS2_DoCommand
0000            ;        When a host wants to send data to the mouse it will drive the
0000            ; SDATA line low. The PS2_Main task will continuously poll it and will clock 
0000            ; in the data. The latter will be parsed and processed.
0000            ;
0000            ; USB Overview
0000            ;        There are also four main tasks: 
0000            ;        * USB_Main
0000            ;        * buttons (common to USB and PS2)
0000            ;        * optics (common to USB and PS2)
0000            ;        * suspend/resume 
0000            ;
0000            ; USB_Main
0000            ;        This routine initializes the USB variables, the IO ports, the mouse
0000            ; logic, and the data space. All USB communication occurs on an interrupt 
0000            ; basis.
0000            ; 
0000            ;        Endpoint 0 is used to support Control Transfers and vendor specific
0000            ; requests.  During enumeration setup commands are sent to endpoint1 to 
0000            ; initialize the USB device and to extract configuration information from the
0000            ; device
0000            ;
0000            ;        Endpoint 1 is used to transfer interrupt data back to the host.  
0000            ; In this case we transfer data from the button and optics back to the host. 
0000            ;
0000            ; Buttons
0000            ;        The buttons are polled every millisecond inside the 1ms handler and
0000            ; processed in the main task loop.
0000            ;
0000            ; Optics
0000            ;        The optics for mouse mouvement (X,Y,Z) are continuously polled
0000            ; and processed in the main task loop.  The quadrature state of the optics
0000            ; tells us which direction the mouse is moving in. This data is sent back to
0000            ; the host as an offset from the last time the mouse was polled for data by
0000            ; the host. Further, for PS/2, the optics will be polled and processed every
0000            ; time a bit is sent out or received. This prevents missing any optics count
0000            ; during PS2 data transfer.
0000            ;
0000            ; Suspend/Resume
0000            ;        Every millisecond, the USB is polled for activity. If no activity
0000            ; occurs for three milliseconds, then it is assumed that the USB is in 
0000            ; suspend.  Because this device supports remote wakeup, pressing the buttons
0000            ; or moving the mouse causes the firmware to send resume signalling back 
0000            ; to the host to wakeup and resume operation.
0000            ;
0000            ; Endpoint1 packet definition
0000            ;     Byte      Usage
0000            ;      0    Button Data 7-3 Not used, 2=middle, 1=right, 0=left
0000            ;      1    horizontal displacement measured via the optics
0000            ;      2    vertical displacement measured via the optics
0000            ;      3    z-displacement (wheel) measured via the optics
0000            ;
0000            ; Revisions:
0000            ;    10/09/00: Original Version. Taken from u5combi.asm, v.1.03
0000            ;
0000            ;    1.00    
0000            ;       Fixed the Chapter 9 Test - device remote wakeup
0000            ;
0000            ;    1.01    
0000            ;       Fixed the suspend current requirements by explicitly writing SUSPEND
0000            ; and RUN bits of the processor status control register when going into 
0000            ; suspend
0000            ;
0000            ;    1.02
0000            ;       Convert TABS into spaces. No code change.
0000            ;    
0000            ;***************************************************************************
0000            ;
0000            ;        Copyright 2000 Cypress Semiconductor
0000            ;    This code is provided by Cypress as a reference.  Cypress makes no
0000            ;    claims or warranties to this firmware's suitability for any 
0000            ;    application. 
0000            ;
0000            ;*************************************************************************** 
0000            
0000                CPU    63743
0000            
0000                XPAGEON
0000            
0000            ;**************************************
0000            ; Processor specific definitions
0000            
0000            ep2DmaBuff:                     equ     E8h
0000            ep2DmaBuff0:                    equ     ep2DmaBuff+0
0000            ep2DmaBuff1:                    equ     ep2DmaBuff+1
0000            ep2DmaBuff2:                    equ     ep2DmaBuff+2
0000            ep2DmaBuff3:                    equ     ep2DmaBuff+3
0000            ep2DmaBuff4:                    equ     ep2DmaBuff+4
0000            ep2DmaBuff5:                    equ     ep2DmaBuff+5
0000            ep2DmaBuff6:                    equ     ep2DmaBuff+6
0000            ep2DmaBuff7:                    equ     ep2DmaBuff+7
0000            
0000            ep1DmaBuff:                     equ     F0h
0000            ep1DmaBuff0:                    equ     ep1DmaBuff+0
0000            ep1DmaBuff1:                    equ     ep1DmaBuff+1
0000            ep1DmaBuff2:                    equ     ep1DmaBuff+2
0000            ep1DmaBuff3:                    equ     ep1DmaBuff+3
0000            ep1DmaBuff4:                    equ     ep1DmaBuff+4
0000            ep1DmaBuff5:                    equ     ep1DmaBuff+5
0000            ep1DmaBuff6:                    equ     ep1DmaBuff+6
0000            ep1DmaBuff7:                    equ     ep1DmaBuff+7
0000            
0000            ep0DmaBuff:                     equ     F8h
0000            ep0DmaBuff0:                    equ     ep0DmaBuff+0
0000            ep0DmaBuff1:                    equ     ep0DmaBuff+1
0000            ep0DmaBuff2:                    equ     ep0DmaBuff+2
0000            ep0DmaBuff3:                    equ     ep0DmaBuff+3
0000            ep0DmaBuff4:                    equ     ep0DmaBuff+4
0000            ep0DmaBuff5:                    equ     ep0DmaBuff+5
0000            ep0DmaBuff6:                    equ     ep0DmaBuff+6
0000            ep0DmaBuff7:                    equ     ep0DmaBuff+7
0000            
0000            
0000            
0000            ;**************************************
0000            ; register definitions
0000            
0000            PORT0:                          equ     00h ; GPIO data port 0
0000            PORT1:                          equ     01h ; GPIO data port 1
0000            PORT2:                          equ     02h ; GPIO data port 2
0000                    SCLK:                   equ     20h
0000                    DPLUS:                  equ     20h
0000                    SDATA:                  equ     10h
0000                    DMINUS:                 equ     10h
0000                    XTALIN:                 equ     02h
0000                    VREG:                   equ     01h
0000            
0000            PORT0_INT:                      equ     04h ; Interrupt enable for Port 0
0000            PORT1_INT:                      equ     05h ; Interrupt enable for Port 1
0000            PORT0_INT_POLARITY:             equ     06h ; Interrupt polarity for Port 0
0000            PORT1_INT_POLARITY:             equ     07h ; Interrupt polarity for Port 1
0000            
0000            PORT0_MODE0:                    equ     0Ah ; Mode Configuration 0 for Port 0
0000            PORT0_MODE1:                    equ     0Bh ; Mode Configuration 1 for Port 0
0000            PORT1_MODE0:                    equ     0Ch ; Mode Configuration 0 for Port 1
0000            PORT1_MODE1:                    equ     0Dh ; Mode Configuration 1 for Port 1
0000            
0000            USB_ADDRESS:                    equ     10h ; USB device address
0000                    ADDRESS_ENABLE:         equ     80h
0000                    ADDRESS_MASK:           equ     7Fh
0000            
0000            EP0_COUNT:                      equ     11h     ; Endpoint 0 counter
0000                    DATA_TOGGLE:            equ     80h
0000                    DATA_VALID:             equ     40h
0000                    BYTE_COUNT:             equ     0Fh
0000            
0000            EP0_MODE:                       equ     12h ; Endpoint 0 configuration
0000                    EP0_SETUP:              equ     80h
0000                    EP0_IN:                 equ     40h
0000                    EP0_OUT:                equ     20h
0000                    EP0_ACK:                equ     10h
0000                    MODE_MASK:              equ     0Fh
0000            
0000            EP1_COUNT:                      equ     13h ; Endpoint 1 counter
0000            EP1_MODE:                       equ     14h ; Endpoint 1 configuration
0000            EP2_COUNT:                      equ     15h ; Endpoint 2 counter
0000            
0000            EP2_MODE:                       equ     16h ; Endpoint 2 configuration
0000                    EP_STALL:               equ     80h
0000                    EP_ACK:                 equ     10h
0000            
0000            USB_STATUS_CONTROL_REG:         equ     1Fh ; USB upstream status and control
0000                    PS2_PULLUP:             equ     80h
0000                    VREG_ENABLE:            equ     40h
0000                    USB_PS2_MODE:           equ     20h
0000                    BUS_ACTIVITY:           equ     08h
0000                    CONTROL2:               equ     04h
0000                    CONTROL1:               equ     02h
0000                    CONTROL0:               equ     01h
0000            
0000                    NOT_FORCING:            equ     00h
0000                    FORCE_K:                equ     01h
0000                    FORCE_J:                equ     02h
0000                    FORCE_SE0:              equ     03h
0000                    FORCEBOTH_LOW:          equ     04h
0000                    FORCESDATA_LOW:         equ     05h
0000                    FORCESCLK_LOW:          equ     06h
0000                    FORCE_HIZ:              equ     07h
0000            
0000            GLOBAL_INTERRUPT_REG:                   equ     20h ; Global interrupt enable
0000                    WAKEUP_INT:             equ     80h
0000                    GPIO_INT:               equ     40h
0000                    CAPTUREB_INT:           equ     20h
0000                    CAPTUREA_INT:           equ     10h
0000                    SPI_INT:                equ     08h
0000                    1MS_INT:                equ     04h
0000                    128US_INT:              equ     02h
0000                    USB_RESET_INT:          equ     01h
0000            
0000            ENDPOINT_INT:                   equ     21h ; USB endpoint interrupt enable
0000                    EP2_INT:                equ     04h
0000                    EP1_INT:                equ     02h
0000                    EP0_INT:                equ     01h
0000            
0000            TIMER_LSB:                      equ     24h ; Lower eight bits of timer
0000            TIMER_MSB:                      equ     25h ; Upper six bits of timer
0000            WATCHDOG_REG:                   equ     26h ; Clear watchdog Timer
0000            
0000            CAPTUREA_RISING:                equ     40h ; Capture timer A rising register
0000            CAPTUREA_FALLING:               equ     41h ; Capture timer A falling register
0000            CAPTUREB_RISING:                equ     42h ; Capture timer B rising register
0000            CAPTUREB_FALLING:               equ     43h ; Capture timer B falling register
0000            
0000            CAPTURE_CONFIG:                 equ     44h ; Capture timer configuration register
0000                    FIRST_EDGE_HOLD:        equ     80h
0000                    PRESCALE:               equ     70h
0000                    PRESCALE2:              equ     40h
0000                    PRESCALE1:              equ     20h
0000                    PRESCALE0:              equ     10h
0000                    CAPTUREB_FALL_INT:      equ     08h
0000                    CAPTUREB_RISE_INT:      equ     04h
0000                    CAPTUREA_FALL_INT:      equ     02h
0000                    CAPTUREA_RISE_INT:      equ     01h
0000            
0000            CAPTURE_STATUS:                 equ     45h ; Capture timer status register
0000                    CAPTUREB_FALL_EVENT:    equ     08h
0000                    CAPTUREB_RISE_EVENT:    equ     04h
0000                    CAPTUREA_FALL_EVENT:    equ     02h

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
中文字幕av不卡| 奇米影视一区二区三区| 亚洲一区二区三区不卡国产欧美| 亚洲不卡一区二区三区| 国产精品综合二区| 欧美日韩精品二区第二页| 国产清纯白嫩初高生在线观看91| 亚洲一区二区三区中文字幕| 国产寡妇亲子伦一区二区| 欧美精品三级在线观看| 亚洲图片激情小说| 高清不卡一区二区| 日韩一级二级三级精品视频| 国产精品素人视频| 国产曰批免费观看久久久| 久久久久久夜精品精品免费| 亚洲一二三区在线观看| 成人动漫视频在线| 国产女同互慰高潮91漫画| 日韩精品午夜视频| 欧美系列一区二区| 亚洲另类春色校园小说| 成人国产精品视频| 久久久五月婷婷| 激情六月婷婷综合| 日韩欧美在线网站| 蜜臀av亚洲一区中文字幕| 欧美三级电影在线观看| 亚洲一区二区三区四区在线| 91在线云播放| 亚洲精品国产a| 91成人在线免费观看| 自拍偷拍国产亚洲| 91丝袜美女网| 亚洲欧美日韩国产手机在线| 99久免费精品视频在线观看| 中文字幕乱码久久午夜不卡| 国产+成+人+亚洲欧洲自线| 久久精品水蜜桃av综合天堂| 国产精品影视在线| 欧美激情一区二区三区全黄| 国产成人精品三级| 国产精品免费视频一区| 成人网在线免费视频| 国产日产欧产精品推荐色| 国产成人在线观看| 亚洲天堂免费在线观看视频| 91免费视频网址| 亚洲电影欧美电影有声小说| 欧美老肥妇做.爰bbww视频| 日韩成人精品在线观看| 日韩免费视频线观看| 国产福利不卡视频| 亚洲桃色在线一区| 色域天天综合网| proumb性欧美在线观看| 日韩伦理电影网| 精品1区2区3区| 青青草97国产精品免费观看| 2020日本不卡一区二区视频| 福利一区二区在线观看| 亚洲激情第一区| 91精品国产麻豆| 国产成人高清视频| 一卡二卡欧美日韩| 欧美一区二区三区四区在线观看 | 91精品一区二区三区在线观看| 麻豆91精品视频| 国产精品久久久久久久久快鸭| 色av成人天堂桃色av| 日韩在线一区二区| 欧美激情一区二区三区蜜桃视频| 91麻豆国产在线观看| 美洲天堂一区二卡三卡四卡视频| 国产午夜精品一区二区三区嫩草| 色美美综合视频| 久久99热狠狠色一区二区| **欧美大码日韩| 日韩欧美国产综合在线一区二区三区| 大桥未久av一区二区三区中文| 亚洲国产精品久久一线不卡| 久久久久久久电影| 3d动漫精品啪啪1区2区免费 | 国产原创一区二区三区| 亚洲与欧洲av电影| 久久免费看少妇高潮| 欧美亚洲高清一区二区三区不卡| 国产美女精品一区二区三区| 亚洲成av人在线观看| 国产精品乱码妇女bbbb| 日韩欧美色综合网站| 在线免费观看视频一区| 风间由美一区二区三区在线观看| 日韩电影在线看| 一区二区欧美视频| 国产精品久久久久一区二区三区共| 欧美片网站yy| 色综合色狠狠天天综合色| 国产91丝袜在线观看| 九九热在线视频观看这里只有精品| 亚洲一区在线观看免费 | 精品亚洲欧美一区| 五月婷婷综合网| 亚洲精品videosex极品| 欧美国产在线观看| 久久久久久久精| 久久亚洲一级片| 日韩精品一区二区在线观看| 欧美精品一二三区| 欧美日韩久久一区| 欧美吞精做爰啪啪高潮| 91久久精品一区二区三区| thepron国产精品| 成人精品小蝌蚪| 国产精品小仙女| 国产成人精品www牛牛影视| 激情小说亚洲一区| 国产一区中文字幕| 国产精品456| 大白屁股一区二区视频| 成人午夜视频网站| 成人黄页毛片网站| 99久久99久久精品免费观看| 成人听书哪个软件好| 国产**成人网毛片九色| 成人一级黄色片| av激情亚洲男人天堂| 99国产精品久久久久久久久久久| 日韩欧美国产综合在线一区二区三区| 欧美日韩精品一区二区三区 | 欧美巨大另类极品videosbest | 美国一区二区三区在线播放| 美女在线一区二区| 国产一区二区三区在线观看精品| 国产一区福利在线| 不卡的电影网站| 色噜噜狠狠一区二区三区果冻| 欧美三级电影在线看| 日韩欧美高清在线| 欧美国产精品一区二区| 亚洲欧美另类在线| 亚洲午夜免费视频| 久久国产精品露脸对白| 成人蜜臀av电影| 欧洲精品在线观看| 日韩一区二区中文字幕| 国产亚洲女人久久久久毛片| 自拍偷拍国产亚洲| 日本 国产 欧美色综合| 国产精品夜夜嗨| 欧美优质美女网站| 久久久亚洲国产美女国产盗摄| 中文字幕欧美日韩一区| 亚洲在线中文字幕| 国内精品国产三级国产a久久| jiyouzz国产精品久久| 欧美日韩亚州综合| 久久久精品蜜桃| 亚洲一级不卡视频| 国产精品系列在线观看| 欧美性色综合网| 久久久久国产免费免费| 一区二区三区在线观看视频 | 91麻豆精品国产综合久久久久久 | 免费在线成人网| 成人av电影免费在线播放| 日韩一区二区电影网| 亚洲三级电影网站| 激情综合网激情| 在线精品视频一区二区| 欧美精品一区二区三区一线天视频| 中文字幕中文乱码欧美一区二区| 日韩高清不卡一区二区三区| 91小视频在线| 国产亚洲一区字幕| www.66久久| 日韩女优制服丝袜电影| 一区二区三区在线影院| 懂色av一区二区三区免费看| 欧美电影在线免费观看| 亚洲欧美日韩在线| 高潮精品一区videoshd| 日韩免费高清电影| 亚洲成人你懂的| 99久久精品国产一区| 精品国产乱码久久| 日本中文字幕不卡| 欧美日韩一区二区在线观看视频 | 日韩免费观看高清完整版| 亚洲欧美电影一区二区| 国产成人免费视频网站高清观看视频| 7777精品伊人久久久大香线蕉完整版| 中文字幕一区av| 成人av在线一区二区三区| 久久久三级国产网站| 精品一区二区三区视频在线观看| 91精品免费在线观看| 亚洲成人免费在线观看| 欧美日韩一区高清| 亚洲bt欧美bt精品|