?? wdf_dscr.lst
字號:
A51 MACRO ASSEMBLER WDF_DSCR 02/13/2008 21:37:10 PAGE 1
MACRO ASSEMBLER A51 V7.07
OBJECT MODULE PLACED IN wdf_dscr.OBJ
ASSEMBLER INVOKED BY: C:\Keil\c51\bin\A51.EXE wdf_dscr.a51 ERRORPRINT DEBUG
LOC OBJ LINE SOURCE
1 ;;-----------------------------------------------------------------------------
2 ;; File: wdf_dscr.a51
3 ;;
4 ;; Contents: Descriptor data tables definitions for l123456 devices,
5 ;; based on the Cypress FX2LP (CY7C68013A) development board
6 ;;
7 ;; Code was generated by DriverWizard v8.02 - http://www.jungo.com
8 ;; Copyright (c) 2008 Jungo Ltd. http://www.jungo.com
9 ;;-----------------------------------------------------------------------------
10
0001 11 DSCR_DEVICE equ 1 ;; Descriptor type: Device
0002 12 DSCR_CONFIG equ 2 ;; Descriptor type: Configuration
0003 13 DSCR_STRING equ 3 ;; Descriptor type: String
0004 14 DSCR_INTRFC equ 4 ;; Descriptor type: Interface
0005 15 DSCR_ENDPNT equ 5 ;; Descriptor type: Endpoint
0006 16 DSCR_DEVQUAL equ 6 ;; Descriptor type: Device Qualifier
000B 17 DSCR_INTERFC_ASSC equ 11 ;; Descriptor type: Interface Association
18
0012 19 DSCR_DEVICE_LEN equ 18
0009 20 DSCR_CONFIG_LEN equ 9
0009 21 DSCR_INTRFC_LEN equ 9
0007 22 DSCR_ENDPNT_LEN equ 7
000A 23 DSCR_DEVQUAL_LEN equ 10
0008 24 DSCR_INTERFC_ASSC_LEN equ 8
25
0000 26 Control equ 0 ;; Endpoint type: Control
0001 27 Isochronous equ 1 ;; Endpoint type: Isochronous
0002 28 Bulk equ 2 ;; Endpoint type: Bulk
0003 29 Interrupt equ 3 ;; Endpoint type: Interrupt
30
31 public DeviceDscr, DeviceQualDscr, HighSpeedConfigDscr, FullSpeedConfigDscr, StringDsc
r, UserDscr
32
33 DSCR SEGMENT CODE PAGE
34
35 ;;-----------------------------------------------------------------------------
36 ;; Global Variables
37 ;;-----------------------------------------------------------------------------
---- 38 rseg DSCR ;; locate the descriptor table in on-part memory.
39
0000 40 DeviceDscr:
0000 12 41 db DSCR_DEVICE_LEN ;; Descriptor length
0001 01 42 db DSCR_DEVICE ;; Decriptor type
0002 0002 43 dw 0002H ;; Specification Version (BCD)
0004 00 44 db 000H ;; Device class
0005 00 45 db 000H ;; Device sub-class
0006 00 46 db 000H ;; Device protocol class
0007 40 47 db 64 ;; Maximum packet size
0008 7856 48 dw 07856H ;; Vendor ID
000A 3412 49 dw 03412H ;; Product ID
000C 0000 50 dw 0000H ;; Product version ID
000E 01 51 db 1 ;; Manufacturer string index
000F 02 52 db 2 ;; Product string index
0010 00 53 db 0 ;; Serial number string index
0011 01 54 db 1 ;; Number of configurations
55
0012 56 DeviceQualDscr:
0012 0A 57 db DSCR_DEVQUAL_LEN ;; Descriptor length
A51 MACRO ASSEMBLER WDF_DSCR 02/13/2008 21:37:10 PAGE 2
0013 06 58 db DSCR_DEVQUAL ;; Decriptor type
0014 0002 59 dw 0002H ;; Specification Version (BCD)
0016 00 60 db 00H ;; Device class
0017 00 61 db 00H ;; Device sub-class
0018 00 62 db 00H ;; Device protocol
0019 40 63 db 64 ;; Maximum packet size
001A 01 64 db 1 ;; Number of configurations
001B 00 65 db 0 ;; Reserved
66
001C 67 HighSpeedConfigDscr:
001C 09 68 db DSCR_CONFIG_LEN ;; Descriptor length
001D 02 69 db DSCR_CONFIG ;; Descriptor type
001E 19 70 db (HighSpeedConfigDscrEnd-HighSpeedConfigDscr) mod 256 ;; Total Length (LSB)
001F 00 71 db (HighSpeedConfigDscrEnd-HighSpeedConfigDscr) / 256 ;; Total Length (MSB)
0020 01 72 db 1 ;; Number of interfaces
0021 01 73 db 1 ;; Configuration number
0022 00 74 db 0 ;; Configuration string
0023 80 75 db 10000000b ;; Attributes (b7 - buspwr, b6 - selfpwr, b5 - rwu)
0024 32 76 db 50 ;; Power requirement (div 2 ma)
77
78 ;; Interface Descriptor
0025 09 79 db DSCR_INTRFC_LEN ;; Descriptor length
0026 04 80 db DSCR_INTRFC ;; Descriptor type
0027 00 81 db 0 ;; Zero-based index of this interface
0028 00 82 db 0 ;; Alternate setting
0029 01 83 db 1 ;; Number of end points
002A 08 84 db 008H ;; Interface class
002B 06 85 db 006H ;; Interface sub class
002C 50 86 db 050H ;; Interface sub sub class
002D 00 87 db 0 ;; Interface descriptor string index
88
89 ;; Endpoint Descriptor
002E 07 90 db DSCR_ENDPNT_LEN ;; Descriptor length
002F 05 91 db DSCR_ENDPNT ;; Descriptor type
0030 01 92 db 01H ;; Endpoint number, and direction
0031 02 93 db Bulk ;; Endpoint type
0032 00 94 db 000H ;; Maximun packet size (LSB)
0033 02 95 db 002H ;; Max packect size (MSB)
0034 00 96 db 000H ;; Polling interval
0035 97 HighSpeedConfigDscrEnd:
98
0035 00 99 db 00 ;; Align FullSpeedConfigDscr to an even address
0036 100 FullSpeedConfigDscr:
0036 09 101 db DSCR_CONFIG_LEN ;; Descriptor length
0037 02 102 db DSCR_CONFIG ;; Descriptor type
0038 19 103 db (FullSpeedConfigDscrEnd-FullSpeedConfigDscr) mod 256 ;; Total Length (LSB)
0039 00 104 db (FullSpeedConfigDscrEnd-FullSpeedConfigDscr) / 256 ;; Total Length (MSB)
003A 01 105 db 1 ;; Number of interfaces
003B 01 106 db 1 ;; Configuration number
003C 00 107 db 0 ;; Configuration string
003D 80 108 db 10000000b ;; Attributes (b7 - buspwr, b6 - selfpwr, b5 - rwu)
003E 32 109 db 50 ;; Power requirement (div 2 ma)
110
111 ;; Interface Descriptor
003F 09 112 db DSCR_INTRFC_LEN ;; Descriptor length
0040 04 113 db DSCR_INTRFC ;; Descriptor type
0041 00 114 db 0 ;; Zero-based index of this interface
0042 00 115 db 0 ;; Alternate setting
0043 01 116 db 1 ;; Number of end points
0044 08 117 db 008H ;; Interface class
0045 06 118 db 006H ;; Interface sub class
0046 50 119 db 050H ;; Interface sub sub class
0047 00 120 db 0 ;; Interface descriptor string index
121
122 ;; Endpoint Descriptor
0048 07 123 db DSCR_ENDPNT_LEN ;; Descriptor length
A51 MACRO ASSEMBLER WDF_DSCR 02/13/2008 21:37:10 PAGE 3
0049 05 124 db DSCR_ENDPNT ;; Descriptor type
004A 01 125 db 01H ;; Endpoint number, and direction
004B 02 126 db Bulk ;; Endpoint type
004C 40 127 db 040H ;; Maximun packet size (LSB)
004D 00 128 db 000H ;; Max packect size (MSB)
004E 00 129 db 000H ;; Polling interval
004F 130 FullSpeedConfigDscrEnd:
131
004F 00 132 db 00 ;; Align StringDscr to an even address
0050 133 StringDscr:
134
0050 135 StringDscr0:
0050 04 136 db StringDscr0End-StringDscr0 ;; String descriptor length
0051 03 137 db DSCR_STRING
0052 0904 138 db 09H,04H
0054 139 StringDscr0End:
140
0054 141 StringDscr1:
0054 08 142 db StringDscr1End-StringDscr1 ;; String descriptor length
0055 03 143 db DSCR_STRING
0056 7000 144 db 'p',00
0058 7000 145 db 'p',00
005A 7000 146 db 'p',00
005C 147 StringDscr1End:
148
005C 149 StringDscr2:
005C 08 150 db StringDscr2End-StringDscr2 ;; String descriptor length
005D 03 151 db DSCR_STRING
005E 7000 152 db 'p',00
0060 7000 153 db 'p',00
0062 7000 154 db 'p',00
0064 155 StringDscr2End:
156
0064 157 UserDscr:
0064 0000 158 dw 0000H
159 end
A51 MACRO ASSEMBLER WDF_DSCR 02/13/2008 21:37:10 PAGE 4
SYMBOL TABLE LISTING
------ ----- -------
N A M E T Y P E V A L U E ATTRIBUTES
BULK . . . . . . . . . N NUMB 0002H A
CONTROL. . . . . . . . N NUMB 0000H A
DEVICEDSCR . . . . . . C ADDR 0000H R SEG=DSCR
DEVICEQUALDSCR . . . . C ADDR 0012H R SEG=DSCR
DSCR . . . . . . . . . C SEG 0066H REL=PAGE
DSCR_CONFIG. . . . . . N NUMB 0002H A
DSCR_CONFIG_LEN. . . . N NUMB 0009H A
DSCR_DEVICE. . . . . . N NUMB 0001H A
DSCR_DEVICE_LEN. . . . N NUMB 0012H A
DSCR_DEVQUAL . . . . . N NUMB 0006H A
DSCR_DEVQUAL_LEN . . . N NUMB 000AH A
DSCR_ENDPNT. . . . . . N NUMB 0005H A
DSCR_ENDPNT_LEN. . . . N NUMB 0007H A
DSCR_INTERFC_ASSC. . . N NUMB 000BH A
DSCR_INTERFC_ASSC_LEN. N NUMB 0008H A
DSCR_INTRFC. . . . . . N NUMB 0004H A
DSCR_INTRFC_LEN. . . . N NUMB 0009H A
DSCR_STRING. . . . . . N NUMB 0003H A
FULLSPEEDCONFIGDSCR. . C ADDR 0036H R SEG=DSCR
FULLSPEEDCONFIGDSCREND C ADDR 004FH R SEG=DSCR
HIGHSPEEDCONFIGDSCR. . C ADDR 001CH R SEG=DSCR
HIGHSPEEDCONFIGDSCREND C ADDR 0035H R SEG=DSCR
INTERRUPT. . . . . . . N NUMB 0003H A
ISOCHRONOUS. . . . . . N NUMB 0001H A
STRINGDSCR . . . . . . C ADDR 0050H R SEG=DSCR
STRINGDSCR0. . . . . . C ADDR 0050H R SEG=DSCR
STRINGDSCR0END . . . . C ADDR 0054H R SEG=DSCR
STRINGDSCR1. . . . . . C ADDR 0054H R SEG=DSCR
STRINGDSCR1END . . . . C ADDR 005CH R SEG=DSCR
STRINGDSCR2. . . . . . C ADDR 005CH R SEG=DSCR
STRINGDSCR2END . . . . C ADDR 0064H R SEG=DSCR
USERDSCR . . . . . . . C ADDR 0064H R SEG=DSCR
REGISTER BANK(S) USED: 0
ASSEMBLY COMPLETE. 0 WARNING(S), 0 ERROR(S)
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -