• 大小: 89KB
    文件类型: .rar
    金币: 1
    下载: 0 次
    发布日期: 2021-06-04
  • 语言: 其他
  • 标签: DSP  MP3  USB  FAT32  

资源简介

DSP MP3 USB FAT32 DSP MP3 USB FAT32 DSP MP3 USB FAT32 DSP MP3 USB FAT32 DSP MP3 USB FAT32 DSP MP3 USB FAT32 DSP MP3 USB FAT32 DSP MP3 USB FAT32 DSP MP3 USB FAT32 DSP MP3 USB FAT32 DSP MP3 USB FAT32 DSP MP3 USB FAT32 DSP MP3 USB FAT32 DSP MP3 USB FAT32 DSP MP3 USB FAT32 DSP MP3 USB FAT32 DSP MP3 USB FAT32

资源截图

代码片段和文件信息




#include “general.h“

//---- Descriptor Content -------------
//standard Device Descriptor

UWord16 USB_Device_Descriptor[18] =
{
        //-------------------------------------------------------------------
        //TotalLength = 0x0012 bytes
        //-------------------------------------------------------------------

        //Device (0x12 bytes)
        0x12                   //bLength: 0x12 bytes
        0x01                   //bDescriptorType: DEVICE
        0x10 0x01             //bcdUSB: version 1.10
        0x00                   //bDeviceClass: independent interfaces
        0x00                   //bDeviceSubClass: 0
        0x00                   //bDeviceProtocol: class specific protocols NOT used on device basis
        0x40                   //bMaxPacketSize0: maximum packet size for endpoint zero
        0x71 0x04             //idVendor: vendor ID
        0x50 0x01             //idProduct: product ID //900515But org=503
        0x00 0x01             //bcdDevice: device release number in BCD
        0x00                   //iManufacturer: index of string
        0x00                   //iProduct: index of string
        0x00                   //iSerialNumber: index of string
        0x01                   //bNumConfigurations: 1 configuration
};

//*******************************************************************
//配置描述符
 UWord16 USB_CONFIGURATION_DEscriptOR [] =
 {
        0x09
        0x02
        0x2e 00//
    0x01
    0x01
        0x00
    0xc0
    0x01
//};

//接口描述符
//UCHAR USB_INTERFACE_DEscriptOR [9] =
//{
    //Interface 0 AlternateSetting 0 (0x09 bytes)
        0x09                   //bLength: 0x09 bytes
        0x04                   //bDescriptorType: INTERFACE
        0x00                   //bInterfaceNumber: interface 0
        0x00                   //bAlternateSetting: alternate setting 0
        0x03                   //bNumEndpoints: 4 endpoint
        0xFF                   //bInterfaceClass: vendor specific interface
        0x00                   //bInterfaceSubClass: 0
        0x00                   //bInterfaceProtocol: class specific protocol NOT used on this interface
        0x00                   //iInterface: index of string

//};

//端点描述符
//UCHAR USB_ENDPOINT_DEscriptOR_EP1_TXDescr [7] =
//{
//Endpoint 1 (0x07 bytes)
        0x07                   //bLength: 0x07 bytes
        0x05                   //bDescriptorType: ENDPOINT
        0x81                   //bEndpointAddress: IN endpoint 1
        0x01                   //bmAttributes: Isochronous
        0x10 0x00             //wMaxPacketSize: 0 bytes
        0x01                   //bInterval: polling interval is 1 ms
//};


//UCHAR USB_ENDPOINT_DEscriptOR_EP1_RXDescr [7] =
//{
//Endpoint 1 (0x07 bytes)
        0x07                   //bLength: 0x07 bytes
        0x05                   //bDescriptorType: ENDPOINT

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----

     目录          0  2004-03-09 08:12  MP3_Decoder_Project

     文件       1134  2004-02-07 14:05  MP3_Decoder_Project\Mp3_Decoder_project.pjt

     文件       2179  2004-02-08 14:01  MP3_Decoder_Project\extfun.h

     文件       1541  2004-02-09 10:19  MP3_Decoder_Project\extvar.h

     文件       1432  2004-02-08 14:08  MP3_Decoder_Project\extcon.h

     文件        454  2004-02-05 16:27  MP3_Decoder_Project\general.h

     文件       1745  2004-02-09 10:51  MP3_Decoder_Project\main.c

     文件      12988  2004-02-09 10:51  MP3_Decoder_Project\map.txt

     文件        563  2004-02-03 17:15  MP3_Decoder_Project\ROM.CMD

     文件     177494  2001-05-08 13:18  MP3_Decoder_Project\rts.lib

     文件       1807  2004-01-05 16:38  MP3_Decoder_Project\VECTOR.ASM

     文件        488  2004-02-09 10:51  MP3_Decoder_Project\cc_build_Debug.log

     文件        897  2004-02-09 10:51  MP3_Decoder_Project\Debug.lkf

     文件       1995  2004-02-07 14:29  MP3_Decoder_Project\option.h

     文件        897  2004-02-09 10:51  MP3_Decoder_Project\Debug.lkv

     文件       2192  2004-02-07 14:03  MP3_Decoder_Project\DSPInitial.asm

     文件       2766  2004-02-08 13:24  MP3_Decoder_Project\NFlashSet.asm

     文件       6036  2004-02-09 10:19  MP3_Decoder_Project\NFlashWR.c

     文件       5989  2004-02-08 14:35  MP3_Decoder_Project\Mp3_Decoder_project.paf

     文件       1139  2004-02-07 09:00  MP3_Decoder_Project\D12.h

     文件       1693  2004-02-09 10:46  MP3_Decoder_Project\D12RD_WR.asm

     文件       8328  2004-02-07 13:52  MP3_Decoder_Project\D12.c

     文件       4934  2004-02-08 10:01  MP3_Decoder_Project\Isr.c

     文件       3592  2004-02-07 13:06  MP3_Decoder_Project\SetUp.c

     文件       8110  2004-02-05 16:29  MP3_Decoder_Project\Chp9.c

     文件       3934  2004-02-08 14:28  MP3_Decoder_Project\scsi2.h

     文件      19088  2004-02-09 09:58  MP3_Decoder_Project\SCSI.c

     文件      15071  2004-02-09 10:06  MP3_Decoder_Project\FAT.c

     目录          0  2004-03-09 08:12  MP3_Decoder_Project\Debug

     文件        343  2004-02-03 13:46  MP3_Decoder_Project\Debug\function.obj

............此处省略17个文件信息

评论

共有 条评论