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

📄 dscr.lst

📁 用Keil C语言编写的EZ-USB CyC768013芯片 slave FIFO模式的固件程序
💻 LST
📖 第 1 页 / 共 2 页
字号:
A51 MACRO ASSEMBLER  DSCR                         04/24/2005 22:31:53 PAGE     1


MACRO ASSEMBLER A51 V7.02a
OBJECT MODULE PLACED IN DSCR.OBJ
ASSEMBLER INVOKED BY: C:\Keil\C51\BIN\A51.EXE DSCR.A51 NOMOD51 SET(SMALL) DEBUG 
                      PAGEWIDTH(80) EP

LOC  OBJ            LINE     SOURCE

                       1     ;;-------------------------------------------------
                             ----------------------------
                       2     ;;   File:      dscr.a51
                       3     ;;   Contents:   This file contains descriptor data
                              tables.  
                       4     ;;
                       5     ;;   Copyright (c) 1997 AnchorChips, Inc. All right
                             s reserved
                       6     ;;-------------------------------------------------
                             ----------------------------
                       7        
  0001                 8     DSCR_DEVICE       equ    1      ;; Descriptor type:
                              Device
  0002                 9     DSCR_CONFIG       equ    2      ;; Descriptor type:
                              Configuration
  0003                10     DSCR_STRING       equ    3      ;; Descriptor type:
                              String
  0004                11     DSCR_INTRFC       equ    4      ;; Descriptor type:
                              Interface
  0005                12     DSCR_ENDPNT       equ    5      ;; Descriptor type:
                              Endpoint
  0006                13     DSCR_DEVQUAL      equ    6      ;; Descriptor type:
                              Device Qualifier
                      14     
  0012                15     DSCR_DEVICE_LEN   equ   18
  0009                16     DSCR_CONFIG_LEN   equ    9
  0009                17     DSCR_INTRFC_LEN   equ    9
  0007                18     DSCR_ENDPNT_LEN   equ    7
  000A                19     DSCR_DEVQUAL_LEN  equ   10
                      20     
  0000                21     ET_CONTROL        equ    0      ;; Endpoint type: C
                             ontrol
  0001                22     ET_ISO            equ    1      ;; Endpoint type: I
                             sochronous
  0002                23     ET_BULK           equ    2      ;; Endpoint type: B
                             ulk
  0003                24     ET_INT            equ    3      ;; Endpoint type: I
                             nterrupt
                      25     
                      26     public      DeviceDscr, DeviceQualDscr, HighSpeedCo
                             nfigDscr, FullSpeedConfigDscr, StringDscr, UserDscr
                      27     
                      28     ;; TGE  DSCR   SEGMENT   CODE
                      29     
                      30     ;;-------------------------------------------------
                             ----------------------------
                      31     ;; Global Variables
                      32     ;;-------------------------------------------------
                             ----------------------------
                      33     
                      34     ;; TGE      rseg DSCR                 ;; locate the
                              descriptor table in on-part memory.
                      35     
----                  36                 cseg at 90H               ;; TODO: this
                              needs to be changed before release
0090                  37     DeviceDscr:   
0090 12               38           db   DSCR_DEVICE_LEN      ;; Descriptor lengt
A51 MACRO ASSEMBLER  DSCR                         04/24/2005 22:31:53 PAGE     2

                             h
0091 01               39           db   DSCR_DEVICE          ;; Decriptor type
0092 0002             40           dw   0002H                ;; Specification Ve
                             rsion (BCD)
0094 00               41           db   00H                  ;; Device class
0095 00               42           db   00H                  ;; Device sub-class
0096 00               43           db   00H                  ;; Device sub-sub-c
                             lass
0097 40               44           db   64                   ;; Maximum packet s
                             ize
0098 4705             45           dw   4705H                ;; Vendor ID
009A 0210             46           dw   0210H                ;; Product ID (Samp
                             le Device)
009C 0000             47           dw   0000H                ;; Product version 
                             ID
009E 01               48           db   1                    ;; Manufacturer str
                             ing index
009F 02               49           db   2                    ;; Product string i
                             ndex
00A0 00               50           db   0                    ;; Serial number st
                             ring index
00A1 01               51           db   1                    ;; Number of config
                             urations
                      52     
00A2                  53     DeviceQualDscr:
00A2 0A               54           db   DSCR_DEVQUAL_LEN     ;; Descriptor lengt
                             h
00A3 06               55           db   DSCR_DEVQUAL         ;; Decriptor type
00A4 0002             56           dw   0002H                ;; Specification Ve
                             rsion (BCD)
00A6 00               57           db   00H                  ;; Device class
00A7 00               58           db   00H                  ;; Device sub-class
00A8 00               59           db   00H                  ;; Device sub-sub-c
                             lass
00A9 40               60           db   64                   ;; Maximum packet s
                             ize
00AA 01               61           db   1                    ;; Number of config
                             urations
00AB 00               62           db   0                    ;; Reserved
                      63     
00AC                  64     HighSpeedConfigDscr:   
00AC 09               65           db   DSCR_CONFIG_LEN      ;; Descriptor lengt
                             h
00AD 02               66           db   DSCR_CONFIG          ;; Descriptor type
00AE 2E               67           db   (HighSpeedConfigDscrEnd-HighSpeedConfigD
                             scr) mod 256 ;; Total Length (LSB)
00AF 00               68           db   (HighSpeedConfigDscrEnd-HighSpeedConfigD
                             scr)  /  256 ;; Total Length (MSB)
00B0 01               69           db   1                    ;; Number of interf
                             aces
00B1 01               70           db   1                    ;; Configuration nu
                             mber
00B2 00               71           db   0                    ;; Configuration st
                             ring
00B3 A0               72           db   10100000b            ;; Attributes (b7 -
                              buspwr, b6 - selfpwr, b5 - rwu)
00B4 32               73           db   50                   ;; Power requiremen
                             t (div 2 ma)
                      74     
                      75     ;; Interface Descriptor
00B5 09               76           db   DSCR_INTRFC_LEN      ;; Descriptor lengt
                             h
00B6 04               77           db   DSCR_INTRFC          ;; Descriptor type
00B7 00               78           db   0                    ;; Zero-based index
                              of this interface
00B8 00               79           db   0                    ;; Alternate settin
A51 MACRO ASSEMBLER  DSCR                         04/24/2005 22:31:53 PAGE     3

                             g
00B9 04               80           db   4                    ;; Number of end po
                             ints 
00BA FF               81           db   0ffH                 ;; Interface class
00BB 00               82           db   00H                  ;; Interface sub cl
                             ass
00BC 00               83           db   00H                  ;; Interface sub su
                             b class
00BD 00               84           db   0                    ;; Interface descri
                             ptor string index
                      85           
                      86     ;; Endpoint Descriptor
00BE 07               87           db   DSCR_ENDPNT_LEN      ;; Descriptor lengt
                             h
00BF 05               88           db   DSCR_ENDPNT          ;; Descriptor type
00C0 02               89           db   02H                  ;; Endpoint number,
                              and direction
00C1 02               90           db   ET_BULK              ;; Endpoint type
00C2 00               91           db   00H                  ;; Maximun packet s
                             ize (LSB)
00C3 02               92           db   02H                  ;; Max packect size
                              (MSB)
00C4 00               93           db   00H                  ;; Polling interval
                      94     
                      95     ;; Endpoint Descriptor
00C5 07               96           db   DSCR_ENDPNT_LEN      ;; Descriptor lengt
                             h
00C6 05               97           db   DSCR_ENDPNT          ;; Descriptor type
00C7 04               98           db   04H                  ;; Endpoint number,
                              and direction
00C8 02               99           db   ET_BULK              ;; Endpoint type
00C9 00              100           db   00H                  ;; Maximun packet s
                             ize (LSB)
00CA 02              101           db   02H                  ;; Max packect size
                              (MSB)
00CB 00              102           db   00H                  ;; Polling interval
                     103     
                     104     ;; Endpoint Descriptor
00CC 07              105           db   DSCR_ENDPNT_LEN      ;; Descriptor lengt
                             h
00CD 05              106           db   DSCR_ENDPNT          ;; Descriptor type
00CE 86              107           db   86H                  ;; Endpoint number,
                              and direction
00CF 02              108           db   ET_BULK              ;; Endpoint type
00D0 00              109           db   00H                  ;; Maximun packet s
                             ize (LSB)
00D1 02              110           db   02H                  ;; Max packect size
                              (MSB)
00D2 00              111           db   00H                  ;; Polling interval
                     112     
                     113     ;; Endpoint Descriptor
00D3 07              114           db   DSCR_ENDPNT_LEN      ;; Descriptor lengt
                             h
00D4 05              115           db   DSCR_ENDPNT          ;; Descriptor type
00D5 88              116           db   88H                  ;; Endpoint number,
                              and direction
00D6 02              117           db   ET_BULK              ;; Endpoint type
00D7 00              118           db   00H                  ;; Maximun packet s
                             ize (LSB)
00D8 02              119           db   02H                  ;; Max packect size
                              (MSB)
00D9 00              120           db   00H                  ;; Polling interval
                     121     
00DA                 122     HighSpeedConfigDscrEnd:   
                     123     
00DA                 124     FullSpeedConfigDscr:   
A51 MACRO ASSEMBLER  DSCR                         04/24/2005 22:31:53 PAGE     4

00DA 09              125           db   DSCR_CONFIG_LEN      ;; Descriptor lengt
                             h
00DB 02              126           db   DSCR_CONFIG          ;; Descriptor type
00DC 2E              127           db   (FullSpeedConfigDscrEnd-FullSpeedConfigD
                             scr) mod 256 ;; Total Length (LSB)
00DD 00              128           db   (FullSpeedConfigDscrEnd-FullSpeedConfigD
                             scr)  /  256 ;; Total Length (MSB)

⌨️ 快捷键说明

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