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

📄 wdf_dscr.lst

📁 使用Jungo Windriver開發的USB driver 及其firmware,類型為HID Class,應用於FX2(Cypress CY68013A)上.
💻 LST
📖 第 1 页 / 共 2 页
字号:
A51 MACRO ASSEMBLER  WDF_DSCR                                                             02/20/2008 11:23:23 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 hid_001 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 5516             48         dw   05516H               ;; Vendor ID
000A 8058             49         dw   08058H               ;; 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/20/2008 11:23:23 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 20               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 A0               75         db   10100000b           ;; 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 02               83         db   2                    ;; Number of end points
002A 03               84         db   003H                 ;; Interface class
002B 00               85         db   000H                 ;; Interface sub class
002C 00               86         db   000H                 ;; Interface sub sub class
002D 03               87         db   3                    ;; 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 03               93         db   Interrupt                 ;; Endpoint type
0032 00               94         db   000H                 ;; Maximun packet size (LSB)
0033 02               95         db   002H                 ;; Max packect size (MSB)
0034 01               96         db   001H                 ;; Polling interval
                      97     
                      98     ;; Endpoint Descriptor
0035 07               99         db   DSCR_ENDPNT_LEN      ;; Descriptor length
0036 05              100         db   DSCR_ENDPNT          ;; Descriptor type
0037 81              101         db   81H                  ;; Endpoint number, and direction
0038 03              102         db   Interrupt                 ;; Endpoint type
0039 00              103         db   000H                 ;; Maximun packet size (LSB)
003A 02              104         db   002H                 ;; Max packect size (MSB)
003B 01              105         db   001H                 ;; Polling interval
003C                 106     HighSpeedConfigDscrEnd:
                     107     
003C                 108     FullSpeedConfigDscr:
003C 09              109         db   DSCR_CONFIG_LEN     ;; Descriptor length
003D 02              110         db   DSCR_CONFIG         ;; Descriptor type
003E 20              111         db   (FullSpeedConfigDscrEnd-FullSpeedConfigDscr) mod 256 ;; Total Length (LSB)
003F 00              112         db   (FullSpeedConfigDscrEnd-FullSpeedConfigDscr)  /  256 ;; Total Length (MSB)
0040 01              113         db   1                   ;; Number of interfaces
0041 01              114         db   1                   ;; Configuration number
0042 00              115         db   0                   ;; Configuration string
0043 A0              116         db   10100000b           ;; Attributes (b7 - buspwr, b6 - selfpwr, b5 - rwu)
0044 32              117         db   50                  ;; Power requirement (div 2 ma)
                     118     
                     119     ;; Interface Descriptor
0045 09              120         db   DSCR_INTRFC_LEN      ;; Descriptor length
0046 04              121         db   DSCR_INTRFC          ;; Descriptor type
0047 00              122         db   0                    ;; Zero-based index of this interface
0048 00              123         db   0                    ;; Alternate setting
A51 MACRO ASSEMBLER  WDF_DSCR                                                             02/20/2008 11:23:23 PAGE     3

0049 02              124         db   2                    ;; Number of end points
004A 03              125         db   003H                 ;; Interface class

⌨️ 快捷键说明

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