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

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

?? des4.asm

?? 基于HT82K96E的usb鼠標實現源程序
?? ASM
字號:
;include			def.inc

descript		.section   at   0f00h		'code'	

;-----begin (standard descriptor)

;--------------------------------------------------------------------------
;device descriptor
;*******************************************************************************
deviced:
dw		00112h, 00110h,	00000h,	00800h,	01241h, 003f00h, 03fe0h,00100h,	00201h
dw		00100h
		
;blengthd:           dw  0012h   ;size of this descriptor in bytes (18)
;bdescriptortyped:   dw  0001h   ;device descriptor type (1)
;bcdusb:             dw  0001h, 0001h ;usb specification release number (1.0)
;bdeviceclass:       dw  0000h   ;class code (assigned by usb) (0 ?)
;bdevicesubclass:    dw  0000h   ;subclass code
;bdeviceprotocol:    dw  0000h   ;protocol code
;wmaxpacketsize0:    dw  0008h   ;maximum packet size for endpoint zero (8)
;idvendor:           dw  0012h, 0041h ;vendor id (assigned by usb) (?)
;idproduct:          dw  00f0h, 0000h ;product id (assigned by manufacturer) (?)
;bcddevice:          dw  0000h, 0001h ;device release number (1.0 ?)
;imanufacturer:      dw  0001h   ;index of string descriptor (manufacturer) (?)
;iproduct:           dw  0002h   ;index of string descriptor (product) (?)
;iserialnumber:      dw  0000h   ;index of string descriptor (serial number) (?)
;inumconfigurations: dw  0001h   ;number of possible configuration
;-----------------------------------------------------------------------------
;*******************************************************************************
;configuration descriptor
configurationd:
dw		00209h
wtotallength:
dw		003bh
bnumberinterface:
dw		00102h,	03f00h, 032a0h		
;blengthc:           dw  0009h   ;size of this descriptor in bytes (9)
;bdescriptortypec:   dw  0002h   ;configur descriptor type (2)
;wtotallength:       dw  003bh, 0000h
;                    ;total length of data return for this configuration.
;                    ;include: configuration,interface,endpoint, and hid)
;                    ;               9           9       7         9
;bnumberinterface:   dw  0002h   ;number of interfaces supported by this config.
;bconfigurationvalue:dw  0001h   ;the value set by set configuration (1 ?)
;;according to the length of previous string(0 means no support)
;bconfiguration:     dw  0000h   ;index of string descriptor (configuration) (0 ?)
;battributes:        dw  00a0h   ;d7:buspowered,d6:selfpowered,d5:remotewakeup
;maxpower:           dw  0032h   ;maximum power (50 x 2 ma ?)
;-----------------------------------------------------------------------------
;*******************************************************************************
;interface descriptor
interfaced_1:
dw		00409h,	00001h,	00301h,	00201h,	00000h	
;blengthi_0_1:           dw  0009h   ;size of this descriptor in bytes (9)
;bdescriptortypei_0_1:   dw  0004h   ;configur descriptor type (4)
;binterfacenumber_0_1:   dw  0001h   ;number of interface (zero-based 0)
;balternatesetting_0_1:  dw  0000h   ;value used to select alternate setting (0)
;bnumendpoints_0_1:      dw  0001h   ;number of endpoints use by this interface (1)
;binterfaceclass_0_1:    dw  0003h   ;class code (hid code assigned by usb) (3)
;binterfacesubclass_0_1: dw  0001h   ;subclass code (boot interface subclass)
;binterfaceprotocol_0_1: dw  0002h   ;protocol coed (mouse) (1)
;;according to the length of previous string(0 means no support)
;iinterface_0_1:         dw  0000h   ;index of string descriptor (interface) (5 ?)
;-----------------------------------------------------------------------------
interfaced_2:
interfaced_0:
dw		00409h,	00000h,	00301h,	00101h,	00000h 	
;blengthi_0_1:           dw  0009h   ;size of this descriptor in bytes (9)
;bdescriptortypei_0_1:   dw  0004h   ;configur descriptor type (4)
;binterfacenumber_0_1:   dw  0000h   ;number of interface (zero-based 0)
;balternatesetting_0_1:  dw  0000h   ;value used to select alternate setting (0)
;bnumendpoints_0_1:      dw  0001h   ;number of endpoints use by this interface (1)
;binterfaceclass_0_1:    dw  0003h   ;class code (hid code assigned by usb) (3)
;binterfacesubclass_0_1: dw  0001h   ;subclass code (boot interface subclass)
;binterfaceprotocol_0_1: dw  0001h   ;protocol coed (kb) (1)
;;according to the length of previous string(0 means no support)
;iinterface_0_1:         dw  0000h   ;index of string descriptor (interface) (5 ?)
;-----------------------------------------------------------------------------
;*******************************************************************************
;endpoint descriptor
endpointd_1:
dw		00507h,	00382h,	00008h,	00008h
;blengthe_0_1:           dw  0007h   ;size of this descriptor in bytes (9)
;bdescriptortypee_0_1:   dw  0005h   ;endpoint descriptor type (5)
;bendpointaddress_0_1:   dw  0082h   ;the address of endpoint    (81h)
;                                ;bit 0..3: the endpoint number  0001
;                                ;bit 4..6: reserved              000
;                                ;bit 7   : direction (0:out/1:in)  1
;bmattribute_0_1:        dw  0003h   ;endpoint attribute (03h)
;                                ;bit 0..1: transfer type
;                                ;      00  control
;                                ;      01  isochronous
;                                ;      10  bulk
;                                ;      11  interrupt
;                                ;all other reserved
;wmaxpacketsize_0_1:     dw  0008h, 0000h    ;maximum packet size (8)
;
;;binterval_0:          dw  0008h   ;interval for polling endpoint (8 ms)
;binterval_0_1:          dw  pollingtime   ;interval for polling endpoint (8 ms)
;-------------------------------------------------------------------------------
endpointd_2:
endpointd_0:
dw		00507h,	00381h,	00008h,	00008h	
;blengthe_0_1:           dw  0007h   ;size of this descriptor in bytes (9)
;bdescriptortypee_0_1:   dw  0005h   ;endpoint descriptor type (5)
;bendpointaddress_0_1:   dw  0081h   ;the address of endpoint    (81h)
;                                ;bit 0..3: the endpoint number  0001
;                                ;bit 4..6: reserved              000
;                                ;bit 7   : direction (0:out/1:in)  1
;bmattribute_0_1:        dw  0003h   ;endpoint attribute (03h)
;                                ;bit 0..1: transfer type
;                                ;      00  control
;                                ;      01  isochronous
;                                ;      10  bulk
;                                ;      11  interrupt
;                                ;all other reserved
;wmaxpacketsize_0_1:     dw  0008h, 0000h    ;maximum packet size (8)
;binterval_0:          	 dw  0008h   ;interval for polling endpoint (8 ms)
;*******************************************************************************
;-----------------------------------------------------------------------------

;-----bigin (class specific discriptor)
;-----------------------------------------------------------------------------
;hid descriptor
hid_1:
dw		02109h,	00110h,	00100h,	03422h,	00000h	
;blengthh_0:           dw  0009h   ;size of this descriptor in bytes (8)
;bdescriptor_0:        dw  0021h   ;hid descriptor type (1)  (memphis)
;bdescriptor_0:        dw  0001h   ;hid descriptor type (1)
;bcdhid_0:             dw  0001h, 0001h  ;hid class spec. release number (1.00)
;bcountrycode_0:       dw  0000h   ;hardware target country
;bnumdescriptors_0:    dw  0001h   ;number of hid class descriptors to follow
;bdescriptortype_0:    dw  0022h   ;entity descriptor type
;wentitylength_0:      dw  0034h	
;-----------------------------------------------------------------------------
hid_2:
;entity_length:
;dw		01d22h, 00000h
;-----------------------------------------------------------------------------
hid_0:
dw		02109h,	00110h,	00100h,	03f22h, 0003fh
;blengthh_0:           dw  0009h   ;size of this descriptor in bytes (8)
;bdescriptor_0:        dw  0021h   ;hid descriptor type (1)  (memphis)
;bdescriptor_0:        dw  0001h   ;hid descriptor type (1)
;bcdhid_0:             dw  0000h, 0001h  ;hid class spec. release number (1.00)
;bcountrycode_0:       dw  0000h   ;hardware target country
;bnumdescriptors_0:    dw  0001h   ;number of hid class descriptors to follow
;bdescriptortype_0:    dw  0022h   ;entity descriptor type
;wentitylength_0:      dw  003fh	
;-----------------------------------------------------------------------------
;*******************************************************************************

;entity descriptor
entity_1:
;-----------------------------------------------------------------------------
dw		00105h,	00209h,	001a1h,	00109h,	000a1h,	00905h,	00119h,	00529h
dw		00015h,	00125h,	00595h,	00175h,	00281h,	00195h,	00375h,	00181h
dw		00105h,	03009h,	03109h,	03809h,	03f15h,	02581h,	03f7fh,	00875h,	00395h
dw		00681h,	03fc0h, 03fc0h	

;entity_1:
;                    dw  0005h, 0001h    ;usage pg(generic desktop)
;                    dw  0009h, 0002h    ;usage (mouse)
;                    dw  00a1h, 0001h    ;collection: (application)
;
;                    dw  0009h, 0001h    ;usage (pointer)
;                    dw  00a1h, 0000h    ;collection (linked)

;                    dw  0005h, 0009h    ;usage(button)
;                    dw  0019h, 0001h    ;usage min (#)
;                    dw  0029h, 0005h    ;usage max (#)
;                    dw  0015h, 0000h    ;log min (0)
;                    dw  0025h, 0001h    ;log max (1)
;                    dw  0095h, 0005h    ;report count (3)
;                    dw  0075h, 0001h    ;report size (1)
;                    dw  0081h, 0002h    ;input: (data, variable, absolute)
;                    dw  0095h, 0001h    ;report count (1)
;                    dw  0075h, 0003h    ;report size (5)
;                    dw  0081h, 0001h    ;input: (constant)

;
;                    dw  0005h, 0001h    ;usage pg (generic desktop)
;                    dw  0009h, 0030h    ;usage (x)
;                    dw  0009h, 0031h    ;usage (y)
;					 dw  0009h, 0038h	 ;usage (wheel)			
;                    dw  0015h, 0081h    ;log min (-127)
;                    dw  0025h, 007fh    ;log max (127)
;                    dw  0075h, 0008h    ;report size (8)
;                    dw  0095h, 0003h    ;report count (3)
;                    dw  0081h, 0006h    ;input: (data, variable, relative)
;
;
;                    dw  00c0h           ;end collection
;                    dw  00c0h           ;end collection
;-----------------------------------------------------------------------------
entity_0:		;63 3fh
dw		00105h,	00609h,	001a1h,	00705h,	03f19h, 03fe0h,	03f29h, 03fe7h,	00015h,	00125h
dw		00175h,	00895h,	00281h,	00195h,	00875h,	00181h,	00395h,	00175h
dw		00805h,	00119h,	00329h,	00291h,	00595h,	00175h,	00191h,	00695h
dw		00875h,	00015h,	03f25h, 03f65h,	00705h,	00019h,	03f29h, 03f65h,	00081h,	000c0h


;                    dw  0005h, 0001h    ;usage pg(generic desktop)
;                    dw  0009h, 0006h    ;usage (keybaord)
;                    dw  00a1h, 0001h    ;collection: (application)
;
;                    dw  0005h, 0007h    ;usage pg (key codes)
;                    dw  0019h, 00e0h    ;usage min (#)
;                    dw  0029h, 00e7h    ;usage max (#)
;                    dw  0015h, 0000h    ;log min (0)
;                    dw  0025h, 0001h    ;log max (1)
;                    dw  0075h, 0001h    ;report size (1)
;                    dw  0095h, 0008h    ;report count (8)
;                    dw  0081h, 0002h    ;input: (data, variable, absolute)
;
;                    dw  0095h, 0001h    ;report count (1)
;                    dw  0075h, 0008h    ;report size (8)
;                    dw  0081h, 0001h    ;input: (constant)
;
;                    dw  0095h, 0003h    ;report count (3)
;                    dw  0075h, 0001h    ;report size (1)
;                    dw  0005h, 0008h    ;usage pg (pg# for leds)
;                    dw  0019h, 0001h    ;usage min (#)
;                    dw  0029h, 0003h    ;usage max (#)
;                    dw  0091h, 0002h    ;output: (data, variable, absolute)
;                    dw  0095h, 0005h    ;report count (5)
;                    dw  0075h, 0001h    ;report size (1)
;                    dw  0091h, 0001h    ;output: (constant)
;
;                    dw  0095h, 0006h    ;report count (6)
;                    dw  0075h, 0008h    ;report size (8)
;                    dw  0015h, 0000h    ;log min (0)
;                    dw  0025h, 0065h    ;log max (101)
;                    dw  0005h, 0007h    ;usage pg (key codes)
;                    dw  0019h, 0000h    ;usage min (#)
;                    dw  0029h, 0065h    ;usage max (#)
;                    dw  0081h, 0000h    ;input: (data, array)
;
;                    dw  00c0h           ;end collection
;-----------------------------------------------------------------------------
			
usb_mouse_chk:
langid:
dw		0304h,	00409h

manufactures:
dw		0030eh, 00048h, 0004fh, 0004ch, 00054h, 00045h, 0004bh		;holtek
products:
dw		0031ah
dw 		00055h, 00053h, 00042h, 00020h, 0004bh, 00065h,00079h		;usb keyboard
dw		00062h,0006fh, 00061h, 00072h, 00064h
;-----------------------------------------------------------------------------















;-----end (class specific discriptor)
public			deviced
public			configurationd
public			interfaced_0
public			endpointd_0
public			hid_0
public			entity_0
public			interfaced_1
public			endpointd_1
public			hid_1
public			entity_1
public			interfaced_2
public			endpointd_2
public			hid_2
;public			entity_2



;public			battributes

;public			wentitylength_0
public			langid
public			manufactures
public			products

public			wtotallength
public			bnumberinterface


end

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
成人一区二区视频| 欧美一区三区四区| 高清日韩电视剧大全免费| 日精品一区二区三区| 亚洲一区精品在线| 夜夜精品视频一区二区| 亚洲一区在线观看视频| 亚洲欧美日韩在线| 国产日韩欧美在线一区| 久久久www免费人成精品| 国产网红主播福利一区二区| 国产欧美一区二区精品久导航| 2欧美一区二区三区在线观看视频 337p粉嫩大胆噜噜噜噜噜91av | 99久久精品国产一区二区三区 | 久久99热国产| 国产精品中文字幕日韩精品| 成人永久看片免费视频天堂| 成人av动漫在线| 日本韩国欧美在线| 欧洲av在线精品| 日韩欧美一级在线播放| 欧美精品一区二| 亚洲精品中文字幕在线观看| 丝袜美腿亚洲色图| 国产一区二区三区在线观看免费 | 黄网站免费久久| 国产曰批免费观看久久久| 成人黄色综合网站| 欧美日韩免费高清一区色橹橹| 精品少妇一区二区三区视频免付费| 欧美激情资源网| 亚洲高清久久久| 福利91精品一区二区三区| 99久久精品免费看| 日韩精品一区二区三区在线| 中文字幕在线不卡国产视频| 免费在线观看一区二区三区| 99亚偷拍自图区亚洲| 7777精品伊人久久久大香线蕉的 | 亚洲色图视频网| 日韩精品亚洲专区| 91蜜桃在线免费视频| 日韩欧美电影一二三| 亚洲欧美日韩在线不卡| 精品一区二区三区免费毛片爱| 91污在线观看| 国产视频一区二区在线| 亚洲自拍都市欧美小说| 国产精品一线二线三线精华| 欧美二区三区91| 亚洲精品自拍动漫在线| 久久69国产一区二区蜜臀| 色偷偷成人一区二区三区91| 国产性天天综合网| 久久精品国产一区二区三| 欧美在线一二三| 亚洲色图欧美激情| 国产精品99久久久久久久vr| 欧美一区二区三区在线视频| 亚洲理论在线观看| jlzzjlzz亚洲日本少妇| 久久久精品2019中文字幕之3| 美国一区二区三区在线播放| 欧美精品欧美精品系列| 亚洲另类一区二区| 成人动漫一区二区三区| 欧美国产欧美综合| 国产精品一区免费在线观看| 欧美电影免费观看完整版| 日本亚洲天堂网| 日韩欧美一区电影| 免费观看成人av| 日韩免费视频一区| 日韩av不卡在线观看| 欧美色电影在线| 日韩一区精品字幕| 日韩女优av电影在线观看| 另类综合日韩欧美亚洲| 欧美图片一区二区三区| 亚洲国产精品精华液网站| 欧美三区在线观看| 三级在线观看一区二区| 日韩视频一区二区三区 | 国产成人亚洲综合色影视| 久久久欧美精品sm网站| 国产馆精品极品| 国产精品护士白丝一区av| 成人网男人的天堂| 亚洲日本乱码在线观看| 91蜜桃网址入口| 亚洲精品免费电影| 精品视频在线看| 九色|91porny| 国产精品久久久久久久久快鸭 | 日韩一二三区不卡| 国产一区二区中文字幕| 国产人久久人人人人爽| 91麻豆国产在线观看| 午夜精品久久久久久久| 欧美一卡二卡三卡| 国产乱码一区二区三区| 亚洲欧美日韩综合aⅴ视频| 欧美在线免费观看亚洲| 日韩激情在线观看| 国产午夜精品美女毛片视频| 在线观看日韩一区| 久久99精品网久久| 久久久亚洲欧洲日产国码αv| 91亚洲精品乱码久久久久久蜜桃| 亚洲综合区在线| 久久久精品天堂| 欧美日韩一级片在线观看| 国产一区二区剧情av在线| 亚洲欧美日本在线| 日韩欧美视频一区| 色老汉一区二区三区| 九九国产精品视频| 亚洲三级在线免费| 精品国产乱码久久久久久浪潮| 色婷婷综合五月| 风间由美一区二区av101| 日韩av高清在线观看| 中文字幕人成不卡一区| 精品第一国产综合精品aⅴ| 色视频一区二区| 激情六月婷婷久久| 图片区日韩欧美亚洲| 中文字幕视频一区| 精品1区2区在线观看| 欧美亚洲日本国产| av电影天堂一区二区在线观看| 国产一区二区三区黄视频| 午夜影视日本亚洲欧洲精品| 国产欧美日韩精品在线| 精品国产一区二区三区久久久蜜月| 欧美日韩一卡二卡| 91片在线免费观看| 岛国av在线一区| 国产成人精品免费看| 麻豆国产精品官网| 天堂成人国产精品一区| 午夜伦欧美伦电影理论片| 亚洲一区二区三区爽爽爽爽爽| 亚洲人成在线播放网站岛国| 国产精品私人影院| 欧美国产精品v| 亚洲国产精品成人综合 | 欧美精品粉嫩高潮一区二区| 欧美日韩一区不卡| 欧美日韩激情一区| 欧美日精品一区视频| 91福利国产成人精品照片| 一本一道综合狠狠老| 日本精品裸体写真集在线观看| 色综合中文字幕国产| 成人免费视频一区| 粉嫩一区二区三区性色av| 国产在线精品一区二区夜色 | 亚洲欧洲精品一区二区三区不卡| 中文字幕av在线一区二区三区| 久久久99久久| 日韩伦理电影网| 亚洲成人av在线电影| 性做久久久久久免费观看| 亚洲超碰97人人做人人爱| 午夜av区久久| 国产在线精品免费| 成人的网站免费观看| 色94色欧美sute亚洲线路一ni| 欧美体内she精高潮| 日韩一级片网址| 国产日韩精品一区二区三区| 亚洲精品v日韩精品| 日韩精品国产精品| 国内偷窥港台综合视频在线播放| 成人精品视频一区| 欧美综合在线视频| 日韩一区二区麻豆国产| 国产清纯白嫩初高生在线观看91| 亚洲视频一二三| 奇米影视7777精品一区二区| 国产福利不卡视频| 99精品视频在线观看免费| 555www色欧美视频| 国产欧美日韩久久| 亚洲不卡在线观看| 国v精品久久久网| 91精品国产一区二区三区蜜臀| 欧美国产日韩亚洲一区| 亚洲一区二区三区四区五区黄 | 国产精品久线观看视频| 亚洲444eee在线观看| 国产不卡在线播放| 欧美日韩国产美女| 日本一区二区不卡视频| 日韩精品电影在线观看| 91网上在线视频| 国产丝袜欧美中文另类| 亚洲国产成人av好男人在线观看| 国产成人高清视频|