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

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關(guān)于我們
? 蟲蟲下載站

?? usbhidio.lst

?? visual basic 開發(fā)的usb hid類應(yīng)用程序
?? LST
?? 第 1 頁 / 共 5 頁
字號(hào):
CYASM Version 1.75
(C) 1997 Cypress Semiconductor Corp.

0000            ;Filename: usbhidio.asm
0000            ;Version: 1.3
0000            ;Date: 11/5/99
0000            ;Copyright 1999 by Jan Axelson (jan@lvr.com)
0000            ;
0000            ;Chip: Cypress Semiconductor CY7C63001 USB Microcontroller
0000            ;Assembler: cyasm.exe
0000            ;Purpose: demonstrates USB communications with an HID-class device
0000            ;Description:
0000            ;Handles all required standard USB and HID-class requests.
0000            ;Receives data from the host in output reports
0000            ;using Interrupt transfers on endpoint 1.
0000            ;Sends data to the host in input reports
0000            ;using Control transfers on endpoint 0
0000            ;(because the chip doesn't support OUT transfers on endpoint 1).
0000            ;I used Cypress Semiconductor's js50.asm joystick example code as a base 
0000            ;in creating this program.
0000            ;The companion host software is the Visual-Basic project usbhidio.vbp.
0000            ;For more information, visit Lakeview Research at http://www.lvr.com .
0000            ;Send comments, bug reports, etc. to jan@lvr.com .
0000            
0000            ;Changes:
0000            
0000            ;V1.3: 11/20/99
0000            ;The length of the string descriptors is now correct.
0000            ;(Thanks, John Hyde)
0000            ;Changed the control_read routine to prevent error when sending a 
0000            ;multiple of 8 bytes.
0000            ;(Thanks, Dave Wright)
0000            
0000            ;V1.2:
0000            ;added watchdog resets in wait loops,
0000            ;no watchdog reset in the 1-msec. timer ISR.
0000            
0000            ;V1.1:
0000            ;Clears the watchdog only in the main routine
0000            ;(so the watchdog will detect if the main routine crashes).
0000            ;Some additions to the comments.
0000            
0000            ;V1.0:
0000            ;Clears the Watchdog timer on 1-msec. interrupt.
0000            ;(Not needed on the development board, but needed for stand-alone.)
0000            ;The Endpoint 1 ISR now sets bit 7 of Endpoint 1 TX config to 1.
0000            ;(The bit is cleared on EP1 interrupt.)
0000            
0000            ;======================================================================
0000            ;assembler directives (equates)
0000            ;======================================================================
0000            
0000            ;----------------------------------------------------------------------
0000            ;I/O registers
0000            ;----------------------------------------------------------------------
0000            
0000            ;I/O ports
0000            Port0_Data:            equ     00h      ; GPIO data port 0
0000            Port1_Data:            equ     01h      ; GPIO data port 1
0000            Port0_Interrupt:       equ     04h      ; Interrupt enable for port 0
0000            Port1_Interrupt:       equ     05h      ; Interrupt enable for port 1
0000            Port0_Pullup:          equ     08h      ; Pullup resistor control for port 0
0000            Port1_Pullup:          equ     09h      ; Pullup resistor control for port 1
0000            
0000            ;USB ports
0000            USB_EP0_TX_Config:      equ     10h     ; USB EP0 transmit configuration
0000            USB_EP1_TX_Config:      equ     11h     ; USB EP1 transmit configuration
0000            USB_Device_Address:     equ     12h     ; USB device address assigned by host
0000            USB_Status_Control:     equ     13h     ; USB status and control register
0000            USB_EP0_RX_Status:      equ     14h     ; USB EP0 receive status
0000            
0000            ;Control ports
0000            Global_Interrupt:       equ     20h     ; Global interrupt enable
0000            Watchdog:               equ     21h     ; clear watchdog Timer
0000            Timer:                  equ     23h     ; free-running Timer
0000            
0000            ;GPIO Isink registers
0000            Port0_Isink:            equ     30h
0000            Port0_Isink0:           equ     30h
0000            Port0_Isink1:           equ     31h
0000            Port0_Isink2:           equ     32h
0000            Port0_Isink3:           equ     33h
0000            Port0_Isink4:           equ     34h
0000            Port0_Isink5:           equ     35h
0000            Port0_Isink6:           equ     36h
0000            Port0_Isink7:           equ     37h
0000            Port1_Isink:            equ     38h
0000            Port1_Isink0:           equ     38h
0000            Port1_Isink1:           equ     39h
0000            Port1_Isink2:           equ     3Ah
0000            Port1_Isink3:           equ     3Bh
0000            
0000            ;Control port
0000            Status_Control:         equ     FFh
0000            
0000            ;----------------------------------------------------------------------
0000            ;Register bit values
0000            ;----------------------------------------------------------------------
0000            
0000            ;CPU Status and Control (Status_Control)
0000            RunBit:                 equ     1h     ; CPU Run bit
0000            USBReset:               equ    20h     ; USB Bus Reset bit
0000            WatchDogReset:          equ    40h     ; Watchdog Reset bit
0000            
0000            ; USB EP1 transmit configuration (USB_EP1_TX_Config)
0000            DataToggle:               equ     40h     ; Data 0/1 bit
0000            
0000            DISABLE_REMOTE_WAKEUP:  equ   0         ; bit[1] = 0
0000            ENABLE_REMOTE_WAKEUP:   equ   2         ; bit[1] = 1
0000            
0000            ;----------------------------------------------------------------------
0000            ;Interrupt masks
0000            ;----------------------------------------------------------------------
0000            
0000            ;The timer-only mask enables the 1-millisecond timer interrupt.
0000            TIMER_ONLY:               equ      4h
0000            
0000            ;The enumerate mask enables the following interrupts:
0000            ;1-millisecond timer, USB Endpoint 0
0000            ENUMERATE_MASK:          equ     0Ch
0000            
0000            ;The runtime mask enables the following interrupts:
0000            ;1-millisecond timer, USB Endpoint 0, USB Endpoint 1, GPIO
0000            RUNTIME_MASK:          equ     5Ch
0000            
0000            ;----------------------------------------------------------------------
0000            ; USB Constants
0000            ; from the USB Spec v1.1
0000            ;----------------------------------------------------------------------
0000            
0000            ;standard request codes
0000            get_status:             equ   0
0000            clear_feature:          equ   1
0000            set_feature:            equ   3
0000            set_address:            equ   5
0000            get_descriptor:         equ   6
0000            set_descriptor:         equ   7
0000            get_configuration:      equ   8
0000            set_configuration:      equ   9
0000            get_interface:          equ  10
0000            set_interface:          equ  11
0000            synch_frame:            equ  12
0000            
0000            ; standard descriptor types
0000            device:              equ  1
0000            configuration:       equ  2
0000            string:              equ  3
0000            interface:           equ  4
0000            endpoint:            equ  5
0000            
0000            ; standard feature selectors
0000            endpoint_stalled:       equ  0              ; recipient endpoint
0000            device_remote_wakeup:   equ  1              ; recipient device
0000            
0000            ;----------------------------------------------------------------------
0000            ;HID-class descriptors
0000            ;from HID Class Definition v1.1 Draft
0000            ;----------------------------------------------------------------------
0000            
0000            ;Class-specific descriptor types from section 7.1 Standard Requests
0000            HID:                    equ  21h
0000            report:                 equ  22h
0000            physical:               equ  23h
0000              
0000            ;Class-specific request codes from section 7.2 Class Specific Requests
0000            get_report:             equ   1
0000            get_idle:               equ   2
0000            get_protocol:           equ   3
0000            set_report:             equ   9
0000            set_idle:               equ  10
0000            set_protocol:           equ  11
0000            
0000            ;----------------------------------------------------------------------
0000            ;USB buffer bytes
0000            ;----------------------------------------------------------------------
0000            
0000            ;Control Endpoint 0 buffer
0000            Endpoint_0:             equ  70h        ; control endpoint
0000            Endpoint0_Byte0:        equ  70h        ; Endpoint 0, byte 0
0000            Endpoint0_Byte1:        equ  71h        ; Endpoint 0 byte 1
0000            Endpoint0_Byte2:        equ  72h        ; Endpoint 0 byte 2
0000            Endpoint0_Byte3:        equ  73h        ; Endpoint 0 byte 3
0000            Endpoint0_Byte4:        equ  74h        ; Endpoint 0 byte 4
0000            Endpoint0_Byte5:        equ  75h        ; Endpoint 0 byte 5
0000            Endpoint0_Byte6:        equ  76h        ; Endpoint 0 byte 6
0000            Endpoint0_Byte7:        equ  77h        ; Endpoint 0 byte 7
0000            
0000            
0000            ;Endpoint 0 SETUP packet bytes
0000            bmRequestType:          equ  70h
0000            bRequest:               equ  71h
0000            wValue:                 equ  72h        ; default wValue (8 bits)
0000            wValueHi:               equ  73h
0000            wIndex:                 equ  74h        ; default wIndex (8 bits)
0000            wIndexHi:               equ  75h
0000            wLength:                equ  76h        ; default wLength (8 bits)
0000            wLengthHi:              equ  77h
0000            
0000            ;Endpoint 1 buffer
0000            endpoint_1:             equ  78h
0000            Endpoint1_Byte0:        equ  78h        ; Endpoint 1, byte 0
0000            Endpoint1_Byte1:        equ  79h        ; Endpoint 1 byte 1
0000            Endpoint1_Byte2:        equ  7Ah        ; Endpoint 1 byte 2
0000            Endpoint1_Byte3:        equ  7Bh        ; Endpoint 1 byte 3
0000            Endpoint1_Byte4:        equ  7Ch        ; Endpoint 1 byte 4
0000            Endpoint1_Byte5:        equ  7Dh        ; Endpoint 1 byte 5
0000            Endpoint1_Byte6:        equ  7Eh        ; Endpoint 1 byte 6
0000            Endpoint1_Byte7:        equ  7Fh        ; Endpoint 1 byte 7
0000            
0000            ;----------------------------------------------------------------------
0000            ; Variables stored in data memory
0000            ;----------------------------------------------------------------------
0000            ;USB status
0000            remote_wakeup_status:   equ  30h          ;0=disabled, 2-enabled
0000            configuration_status:   equ  31h          ;0=unconfigured, 1=configured
0000            ;idle_status:           equ  33h          ;support SetIdle and GetIdle
0000            protocol_status:        equ  34h          ;0=boot protocol, 1=report protocol
0000            
0000            ;Other variables:
0000            suspend_counter:        equ  35h          ;number of idle bus milliseconds 
0000            loop_temp:              equ  37h          ;temporary loop variable
0000            start_send:             equ  32h          ;0=false, 1=true
0000            
0000            ;Received data:
0000            Data_Byte0:               equ  38h
0000            Data_Byte1:               equ  39h
0000            Data_Byte2:               equ  3Ah
0000            Data_Byte3:               equ  3Bh
0000            Data_Byte4:               equ  3Ch
0000            Data_Byte5:               equ  3Dh
0000            Data_Byte6:               equ  3Eh
0000            Data_Byte7:               equ  3Fh
0000            
0000            temp:                   equ  25h
0000            start_time:             equ  21h
0000            testbit:                equ  22h
0000            interrupt_mask:         equ  20h
0000            endp0_data_toggle:      equ  23h
0000            loop_counter:           equ  24h
0000            data_start:             equ  27h
0000            data_count:             equ  28h
0000            endpoint_stall:         equ  29h
0000            
0000            ;======================================================================
0000            ;interrupt vectors
0000            ;======================================================================
0000            
0000            org  00h                ; Reset vector; begin here after a reset.
0000 80 99 [05] jmp  Reset
0002            
0002            org  02h                ; 128-microsecond interrupt
0002 80 10 [05] jmp  DoNothing_ISR
0004            
0004            org  04h                ; 1024-millisecond interrupt 
0004 80 15 [05] jmp  One_mSec_ISR
0006            
0006            org  06h                ; endpoint 0 interrupt 
0006 81 24 [05] jmp  USB_EP0_ISR
0008            
0008            org  08h                ; endpoint 1 interrupt 
0008 80 8C [05] jmp  USB_EP1_ISR
000A            
000A            org  0Ah                ; reserved interrupt 
000A 80 99 [05] jmp  Reset
000C            
000C            org  0Ch                ; general purpose I/O interrupt 
000C 80 85 [05] jmp  GPIO_ISR           ; not used
000E            
000E            org  0Eh                ; Wakeup_ISR or resume interrupt 
000E 80 10 [05] jmp  DoNothing_ISR      ; not used
0010            
0010            ORG  10h
0010            
0010            ;======================================================================
0010            ;Interrupt routines

?? 快捷鍵說明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號(hào) Ctrl + =
減小字號(hào) Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
欧美精品乱人伦久久久久久| 午夜视频在线观看一区二区 | 国产精品免费视频观看| 日韩高清不卡一区| 国产精品久久毛片| 国产精品系列在线| 国产美女久久久久| 欧美日韩一级二级三级| 亚洲欧美日韩精品久久久久| 成人在线视频首页| 久久夜色精品一区| 久久精品噜噜噜成人88aⅴ| 亚洲欧美aⅴ...| 91丨九色丨尤物| 91久久精品一区二区| 国产精品电影院| 99热在这里有精品免费| 在线视频一区二区免费| 亚洲手机成人高清视频| av中文字幕一区| 国产精品色眯眯| 91碰在线视频| 亚洲成av人片在线观看| 91精品久久久久久蜜臀| 精品一区二区三区免费毛片爱| 精品美女被调教视频大全网站| 久久99热这里只有精品| 久久综合九色综合欧美98| 国内精品国产三级国产a久久| 欧美在线观看视频一区二区三区| 91丝袜国产在线播放| 91麻豆国产精品久久| 亚洲人成网站精品片在线观看| 色国产综合视频| 欧美日韩国产精选| 欧美另类久久久品| 国产91在线看| 欧美视频一区二| 午夜伦欧美伦电影理论片| 911国产精品| 国产精品一区免费视频| 久久久久久久网| 中文字幕成人网| 懂色一区二区三区免费观看| 国产日本欧洲亚洲| 91色九色蝌蚪| 午夜国产精品一区| 久久久精品2019中文字幕之3| 国产白丝精品91爽爽久久| 中文字幕在线观看不卡视频| 在线观看成人小视频| 亚洲网友自拍偷拍| wwwwww.欧美系列| jizz一区二区| 国产乱子轮精品视频| 国产欧美日韩亚州综合| 欧美日韩成人在线| 91伊人久久大香线蕉| 国产一区二区三区免费| 亚洲国产日韩在线一区模特| 欧美成人精品1314www| 3atv一区二区三区| 一本高清dvd不卡在线观看| 国产一区二区三区久久久| 日韩av一区二区三区四区| 亚洲综合自拍偷拍| 亚洲欧美日韩小说| 亚洲日本在线看| 亚洲欧美中日韩| 亚洲婷婷国产精品电影人久久| 国产亚洲女人久久久久毛片| 精品国产成人在线影院| 欧美在线不卡一区| 在线亚洲精品福利网址导航| 91麻豆国产香蕉久久精品| 91无套直看片红桃| 欧美体内she精高潮| 91黄色免费看| 欧美日韩国产在线观看| 欧美日韩国产高清一区二区三区| 欧美日韩精品免费| 精品视频1区2区3区| 久色婷婷小香蕉久久| 不卡免费追剧大全电视剧网站| 欧美综合亚洲图片综合区| 精品久久久久久久久久久院品网 | 欧美性大战久久久久久久| 欧美日韩成人综合| 久久久久久亚洲综合影院红桃 | 激情偷乱视频一区二区三区| 国产电影一区二区三区| 99在线精品免费| 宅男在线国产精品| 国产女同互慰高潮91漫画| 国产精品久久久久影院| 亚洲尤物在线视频观看| 麻豆精品在线看| 99热这里都是精品| 日韩欧美激情在线| 亚洲人成7777| 美日韩一级片在线观看| 中文乱码免费一区二区| 午夜电影一区二区三区| 国产91对白在线观看九色| 欧美一区中文字幕| 《视频一区视频二区| 国产一区二区福利| 欧美肥大bbwbbw高潮| 亚洲精品v日韩精品| 国产在线精品免费| 欧美大片在线观看一区| 五月激情综合网| 欧美日韩精品欧美日韩精品| 亚洲最新视频在线播放| 在线观看亚洲专区| 亚洲一区二区精品视频| 欧美性色aⅴ视频一区日韩精品| 亚洲图片欧美激情| 色94色欧美sute亚洲13| 一区二区三区四区视频精品免费| 99re视频精品| 亚洲日本韩国一区| 欧美三日本三级三级在线播放| 亚洲综合视频在线| 91精品国产乱码| 久色婷婷小香蕉久久| 国产日韩精品久久久| 成人性生交大片免费看中文 | 国产精品538一区二区在线| 久久蜜桃av一区精品变态类天堂| 九九视频精品免费| 国产精品视频免费| 在线观看亚洲一区| 三级欧美在线一区| 欧美精品一区二区不卡| av在线一区二区三区| 一区二区不卡在线视频 午夜欧美不卡在 | 99精品欧美一区二区三区综合在线| 亚洲男人天堂av| 日韩欧美国产一二三区| 99在线视频精品| 日韩和欧美的一区| 国产精品久久久久9999吃药| 在线欧美小视频| 国产一区视频网站| 一区二区三区在线看| 精品国产伦一区二区三区免费| 白白色 亚洲乱淫| 石原莉奈在线亚洲二区| 国产精品久久久久久久久快鸭 | 久久精品国产精品亚洲红杏 | 97久久精品人人做人人爽50路| 日韩av不卡在线观看| 亚洲日本一区二区| 久久免费看少妇高潮| 欧美日本一区二区三区四区| 国产suv精品一区二区883| 日本不卡一区二区三区| 最新热久久免费视频| 久久婷婷综合激情| 在线不卡一区二区| 色8久久人人97超碰香蕉987| 国产99久久久国产精品免费看| 日韩电影在线免费观看| 悠悠色在线精品| 中文字幕欧美一| 国产精品女主播av| 国产亚洲一本大道中文在线| 日韩视频一区在线观看| 欧美日韩二区三区| 欧美午夜精品理论片a级按摩| 91在线观看视频| 99精品欧美一区二区三区小说| 国产高清无密码一区二区三区| 毛片一区二区三区| 日韩电影一区二区三区| 日欧美一区二区| 视频一区在线播放| 日本人妖一区二区| 秋霞电影一区二区| 韩国精品久久久| 国产福利精品一区二区| 不卡一二三区首页| 色综合网色综合| 555www色欧美视频| 日韩一区二区影院| 久久综合九色欧美综合狠狠| 久久综合九色综合97婷婷女人| 欧美极品美女视频| 亚洲精品欧美专区| 天堂成人国产精品一区| 激情欧美日韩一区二区| a级高清视频欧美日韩| 精品视频在线免费看| 精品盗摄一区二区三区| 国产精品久久久久一区二区三区共| 亚洲日本电影在线| 免费成人av在线| 国产99久久久久| 欧美日韩在线综合|