⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 des.lst

📁 Holtek ht82a832r USB-PHONE DEMO 源码 ht82a832r 是Holtek开发的USB-PHONE 的OTP SOC芯片,信价比很高
💻 LST
📖 第 1 页 / 共 2 页
字号:
 205  005B  0002        	    	DW	00002H	;Unused , AUDIO_STREAMING
 206  005C  3F00        	    	DW	03F00H	;null string
 207  005D              	    ad_audio_streaming_data:
 208  005D              	    ;;9 bytes
 209  005D  0409        	    	DW	00409H	;INTERFACE , Size of this descriptor
 210  005E  0102        	    	DW	00102H	;index of this setting , index of this interface
 211  005F  0101        	    	DW	00101H	;AUDIO , 1 endpoint
 212  0060  0002        	    	DW	00002H	;Unused , AUDIO_STREAMING
 213  0061  3F00        	    	DW	03F00H	;null string
 214  0062              	    ad_class_specific_audio_streaming_interface_descriptor:
 215  0062              	    ;;7 bytes
 216  0062  2407        	    	DW	02407H	;CS_INTERFACE , Size of this descriptor
 217  0063  0701        	    	DW	00701H	;Unit ID of terminal(Output terminal ID) , AS_GENERAL
 218  0064  3F01        	    	DW	03F01H	;Interface delay
 219  0065  0001        	    	DW	00001H	;PCM format
 220  0066              	    ad_typeI_format_type:
 221  0066              	    ;;11 bytes
 222  0066  240B        	    	DW	0240BH	;CS_INTERFACE , Size of this descriptor
 223  0067  0102        	    	DW	00102H	;FORMAT_TYPE_I , FORMAT_TYPE
 224  0068  0201        	    	DW	00201H	;two bytes per slot , one channel
 225  0069  0110        	    	DW	00110H	;1 frequency , 16 bits
 226  006A  3F40        	    	DW	03F40H	;8000hZ
 227  006B  001F        	    	DW	0001FH	;
 228  006C              	    ad_standard_endpoint_descriptor:
 229  006C              	    ;;9 bytes	
 230  006C  0509        	    	DW	00509H	;ENFPOINT descriptor , Size of this descriptor
 231  006D  0183        	    	DW	00183H	;(bmAttributes) Isochronous , asynchronous,not share , IN endpoint 3
 232  006E  0010        		DW	00010H	;2bytes*8sample*1ch=16 byte/frame
 233  006F  0001        		DW	00001H	;Unused , 1 packet every frame(must be set to 1)
 234  0070  3F00        		DW	03F00H	;Unused
 235  0071              	    ad_class_specific_isochronous_audio_data_endpoint_descriptor:
 236  0071              	    ;;7 bytes
 237  0071  2507        	    	DW	02507H	;CS_ENDPOINT , Size of this descriptor
 238  0072  0001        	    	DW	00001H	;no Sampling frequency control , no pitch control , no packet padding,EP_GENERAL
 239  0073  3F00        	    	DW	03F00H	;Unused
文件:DES.ASM      盛群编译器版本 2.86 页次5

 240  0074  0000        	    	DW	00000H	;Unused
 241  0075              
 242  0075              	    Interface3_descriptor:
 243  0075              	    HID_class:
 244  0075  0409        	    	DW	00409H	;INTERFACE descriptor , Size of this descriptor
 245  0076  0003        	    	DW	00003H	;Index of this string , index of this interface
 246  0077  0301        	    	DW	00301H	;HID , 1 endpoint
 247  0078  0000        	    	DW	00000H	;Unused , Non-Boot Device
 248  0079  3F00        	    	DW	03F00H	;null string
 249  007A              	    HID_Desc:
 250  007A  2109        	    	DW	02109H	;HID , Size of this descriptor
 251  007B  0110        	    	DW	00110H	;HID spec rev #1.10
 252  007C  0100        	    	DW	00100H	;bNumDescriptor , bCountryCode
 253  007D  3F22        	    	DW	03F22H	;Report Descriptor
 254  007E              	    	;====================================================================
 255  007E              	    	;	Use ReportID , Report ID 1 = Volume HID control
 256  007E              	    	;		       Report ID 3 = Transform Other Data
 257  007E              	    	;====================================================================
 258  007E              	    	IF	UseReportID
 259  007E  0043        	    	DW	00043H	;67 bytes
 260  007F              		ELSE
 261  007F              		DW	0001FH	;31 bytes
 262  007F              		ENDIF
 263  007F              
 264  007F              	    HID_end_point_descriptor:
 265  007F  0507        	    	DW	00507H	;Endpoint descriptor , Length of this descriptor
 266  0080  0381        	    	DW	00381H	;Interrupt , Endpoint 1 In direction
 267  0081  0010        	    	DW	00010H	;wMaxPacketSize = 16 Bytes
 268  0082  3F30        	    	DW	03F30H	;48ms Interval
 269  0083              	end_config_desc_table:
 270  0083              
 271  0083              	hid_report_desc_table:
 272  0083  0C05        		DW	00C05H		;//Usage Page(Consumer)
 273  0084  0109        		DW	00109H		;//Usage Page(Consumer Control)
 274  0085  01A1        		DW	001A1H		;//Collection(Application)
 275  0086              
 276  0086              		IF UseReportID
 277  0086  0185        		DW	00185H		;//Report_ID(01)
 278  0087              		ENDIF
 279  0087              
 280  0087  0015        		DW	00015H		;//Logic Minimum(0)
 281  0088  0125        		DW	00125H		;//Logic Maximum(1)
 282  0089  3F09        		DW	03F09H		;//Usage(Volume Increment)
 283  008A  3FE9        		DW	03FE9H		
 284  008B  3F09        		DW	03F09H		;//Usage(Volume Decrement)
 285  008C  3FEA        		DW	03FEAH		
 286  008D  0175        		DW	00175H		;//Report Size(1) : DataLength(1)bit
 287  008E  0295        		DW	00295H		;//Report Count(2): Number of Data(INC,DEC)
 288  008F  2A81        		DW	02A81H		;//Input(Data,Variable,Absolute,No_Wrap,No_Preferred)
 289  0090  3F09        		DW	03F09H		;//Usage(Mute)
 290  0091  3FE2        		DW	03FE2H		
 291  0092  0195        		DW	00195H		;//Report Count(1)
 292  0093  2E81        		DW	02E81H		;//Input(Data,Variable,Relative,No_Wrap,No_preferred)
 293  0094  0595        		DW	00595H		;//Report Count(5)
 294  0095              
 295  0095              		;;Add By Ansonku . (add call playmedia)
 296  0095              		;;DW	
 297  0095              
 298  0095  0181        		DW	00181H		;//Input(Constant)
 299  0096  3FC0        		DW	03FC0H		;//End Collection
文件:DES.ASM      盛群编译器版本 2.86 页次6

 300  0097              		
 301  0097              ;====================================================================
 302  0097              ;	Use ReportID , Report ID 1 = Volume HID control
 303  0097              ;		       Report ID 3 = Transform Other Data
 304  0097              ;====================================================================		
 305  0097              		IF UseReportID
 306  0097              		;;vender defined
 307  0097  3F06        		DW	03F06H		;//Usage Page(Global)
 308  0098  3F00        		DW	03F00H
 309  0099  3FFF        		DW	03FFFH		;//Usage Page
 310  009A              
 311  009A              
 312  009A              
 313  009A  3F09        		DW	03F09H		;//Usage(Local 1 bytes)
 314  009B  3FA5        		DW	03FA5H
 315  009C  01A1        		DW	001A1H		;//collection(Main)
 316  009D  0385        		DW	00385H		;//Report_ID(03)
 317  009E              		;input report
 318  009E  3F19        		DW	03F19H
 319  009F  3FA6        		DW	03FA6H
 320  00A0  3F29        		DW	03F29H		;//Usage(Local)
 321  00A1  3FAC        		DW	03FACH
 322  00A2  3F15        		DW	03F15H		;//Global Logical Minimum
 323  00A3  3F80        		DW	03F80H
 324  00A4  3F25        		DW	03F25H		;//Global Logical Maximum
 325  00A5  3F7F        		DW	03F7FH		
 326  00A6  0875        		DW	00875H		;//Global Report Size 8 bits
 327  00A7  0795        		DW	00795H		;//Global Report Count 7 (field)
 328  00A8  0281        		DW	00281H		;//Main Input (Data,Variable,Absolute)
 329  00A9              		;output
 330  00A9  3F19        		DW	03F19H
 331  00AA  3FB0        		DW	03FB0H
 332  00AB  3F29        		DW	03F29H
 333  00AC  3FB6        		DW	03FB6H
 334  00AD  0875        		DW	00875H		;//Report size (8 bits)
 335  00AE  0795        		DW	00795H		;//Report Count(7)
 336  00AF  0291        		DW	00291H		;//Main Output (Data,Variable,Absolute)
 337  00B0  3FC0        		DW	03FC0H		;End Collection
 338  00B1              		ENDIF
 339  00B1              	end_hid_report_desc_table:	
 340  00B1              	
 341  00B1              
 342  00B1              	string_descriptor:
 343  00B1              	USBStringLanguageDescription:
 344  00B1  0304        	    	DW 	00304h          ; Length , Type (3=string)
 345  00B2  0409            		DW 	00409h          ; Language:  English , Sub-language: US
 346  00B3              	
 347  00B3              	imanufacturer_string:	;Vendor Name
 348  00B3              	USBStringDescription1:	
 349  00B3  0310 0048   		DW	00310h, 00048h, 0004fh, 0004ch, 00054h, 00045h, 0004bh, 00020h	;HOLTEK		
            004F 004C 0054 0045 004B 0020
 350  00BB              	
 351  00BB              	iproduct_string:	;Product Name
 352  00BB              
 353  00BB              	;原描述符
 354  00BB              	;USBStringDescription2:	
 355  00BB              	;	;DW	00314h, 00048h, 00054h, 00038h, 00032h, 00041h, 00038h,	00033h, 00032h, 00052h	;HT82A832R
 356  00BB              	;	DW	00322h, 00048h, 0004fh, 0004ch, 00054h, 00045h, 0004bh, 00020h	;HOLTEK
 357  00BB              	;	DW	00055h, 00053h, 00042h, 00020h					;USB
 358  00BB              	;	DW	00050h, 00048h, 0004Fh, 0004Eh, 00045h				;PHONE
文件:DES.ASM      盛群编译器版本 2.86 页次7

 359  00BB              	
 360  00BB              	USBStringDescription2:	
 361  00BB               		;DW	00334h, 00056h, 0004fh, 00049h, 00050h, 00020h, 00055h, 00053h	;VOIP USB Phone
 362  00BB              		;DW	0006fh, 0006eh, 00065h, 00020h, 00020h				;PHONE
 363  00BB  0334 0056   		DW	0334h,  0056h,  004fh,   0049h,   0050h,  0020h,   0055h,  0053h  
            004F 0049 0050 0020 0055 0053
 364  00C3  0042 0020   		DW	0042h,  0020h,  0050h,   0068h,   006fh,  006eh,   0065h,  0020h  
            0050 0068 006F 006E 0065 0020
 365  00CB  0020 0020   		DW	0020h,  0020h,  0020h,   0020h,   0020h,  0020h,   0020h,  0020h  
            0020 0020 0020 0020 0020 0020
 366  00D3  0020 0020   		DW	0020h,  0020h 
 367  00D5              	
 368  00D5              	isnumber_string:	;Serial Number
 369  00D5              	USBStringDescription3:	
 370  00D5  030A 0038   		DW	0030Ah, 00038h,	00033h, 00032h, 00052h	;832R
            0033 0032 0052
 371  00DA              
 372  00DA              
 373  00DA              	config_desc_length:
 374  00DA  00D9        		DW	000D9H
 375  00DB              	report_desc_length:
 376  00DB              		IF	UseReportID
 377  00DB  0043        		DW	00043H
 378  00DC              		ELSE
 379  00DC              		DW	0001FH
 380  00DC              		ENDIF
 381  00DC              		
 382  00DC              	hid_desc_length:
 383  00DC  0009        		DW	00009H
 384  00DD              
 385  00DD              	LogTable:
 386  00DD              		
 387  00DD              	 Public		control_read_table
 388  00DD              	 Public		device_desc_table
 389  00DD              	 Public		config_desc_table
 390  00DD              	 Public		end_config_desc_table
 391  00DD              	 Public		USBStringLanguageDescription
 392  00DD              	 Public		USBStringDescription1
 393  00DD              	 Public		USBStringDescription2
 394  00DD              	 Public		USBStringDescription3
 395  00DD              	 Public		HID_Desc
 396  00DD              	 Public		hid_report_desc_table
 397  00DD              	 Public		end_hid_report_desc_table
 398  00DD              	 
 399  00DD              	 
 400  00DD              	 Public		config_desc_length
 401  00DD              	 Public		hid_desc_length
 402  00DD              	 Public		report_desc_length
 403  00DD              	 Public		LogTable


        0 Errors

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -