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

📄 reqcode.lst

📁 该代码是基于菲利普ISP1581USB接口芯片与STC89C51单片机的USB2.0开发代码
💻 LST
📖 第 1 页 / 共 3 页
字号:
 329                          0x03,                                                           //Enndpoint Address
 330                          0x01,                                                           //Endpoint Characteristic
 331                          SWAP(0x0000),                                           //Endpoint Max Packet Size
 332                          0x01                                                            //Interval for Polling Endpoint for data transfer
 333                          
 334          };
 335          
 336          ENDPOINT_DESCRIPTOR     code    Iso_In_Zero_Descriptor[] =
 337          {
 338                  
 339                  sizeof(ENDPOINT_DESCRIPTOR),    //Length of Standard Endpoint Descriptor
 340                          0x05,                                                           //Standard Endpoint Type
 341                          0x83,                                                           //Enndpoint Address
 342                          0x01,                                                           //Endpoint Characteristic
 343                          SWAP(0x0000),                                           //Endpoint Max Packet Size
 344                          0x01                                                            //Interval for Polling Endpoint for data transfer
 345                          
 346          };
 347          
 348          //***********************************************************************
 349          //*                                                                                                                                                    *
 350          //*     Routine         :  Standard String Descriptor                                      *
 351          //*     Input           :  None                                                                                          *
 352          //*     Output  :  None                                                                    *
 353          //*     Function        :  None                                                            *
 354          //*                                                                                                                                                            *
 355          //***********************************************************************
 356          
 357          STRING_DESCRIPTOR       code    Standard_Product_String[] =          
 358          
 359          {        0x30,     /* length                   */
 360          0x03,      /* descriptor type = string */
 361          'P' , 0x00,
 362          'h' , 0x00,
 363          'i' , 0x00,
 364          'l' , 0x00,
C51 COMPILER V7.50   REQCODE                                                               10/30/2007 16:17:27 PAGE 7   

 365          'i' , 0x00,
 366          'p' , 0x00,
 367          's' , 0x00,
 368          ' ' , 0x00,
 369          'I' , 0x00,
 370          'S' , 0x00,
 371          'P' , 0x00,
 372          '1' , 0x00,
 373          '5' , 0x00,
 374          '8' , 0x00,
 375          '1' , 0x00,
 376          ' ' , 0x00,
 377          'V' , 0x00,
 378          'e' , 0x00,
 379          'r' , 0x00,
 380          ' ' , 0x00,
 381          '1' , 0x00,
 382          '.' , 0x00,
 383          '0' , 0x00
 384          };
 385          
 386          //***********************************************************************
 387          //*                                                                                                                                                    *
 388          //*     Routine         :  Standard String Descriptor                                      *
 389          //*     Input           :  None                                                                                          *
 390          //*     Output  :  None                                                                    *
 391          //*     Function        :  None                                                            *
 392          //*                                                                                                                                                            *
 393          //***********************************************************************
 394          
 395          STRING_DESCRIPTOR       code    Standard_Manufacturer_String[] =             
 396          
 397          {        0x1C,     /* length                   */
 398          0x03,      /* descriptor type = string */
 399          'P' , 0x00,
 400          'h' , 0x00,
 401          'i' , 0x00,
 402          'l' , 0x00,
 403          'i' , 0x00,
 404          'p' , 0x00,
 405          ' ' , 0x00,
 406          '-' , 0x00,
 407          ' ' , 0x00,
 408          'A' , 0x00,
 409          'P' , 0x00,
 410          'I' , 0x00,
 411          'C' , 0x00
 412          };
 413          
 414          
 415          
 416          //***********************************************************************
 417          //*                                                                                                                                                    *
 418          //*     Routine         :  Standard String Identifications                              *
 419          //*     Input           :  None                                                                                          *
 420          //*     Output  :  None                                                                    *
 421          //*     Function        :  None                                                            *
 422          //*                                                                                                                                                            *
 423          //***********************************************************************
 424          
 425          STRING_ID       code    Standard_String_ID[] = 
 426          {
C51 COMPILER V7.50   REQCODE                                                               10/30/2007 16:17:27 PAGE 8   

 427                  
 428                  0x04,
 429                          0x03,
 430                          0x09,
 431                          0x04
 432                          
 433          };                                                                                                                               
 434          
 435          
 436          
 437          //***********************************************************************
 438          //*                                                                                                                                                    *
 439          //*     Routine         :  Standard Mass Storage Identifications                 *
 440          //*     Input           :  None                                                                                          *
 441          //*     Output  :  None                                                                    *
 442          //*     Function        :  None                                                            *
 443          //*                                                                                                                                                            *
 444          //***********************************************************************
 445          UC code  Test_Packet[] =
 446          {
 447                  //      0x00, 0x00,
 448                  //      0x00, 0x80, // syn pattern
 449                  0xc3,
 450                          0x00, 0x00,
 451                          0x00, 0x00,
 452                          0x00, 0x00,
 453                          0x00, 0x00,
 454                          0x00, 0xaa,
 455                          0xaa, 0xaa,
 456                          0xaa, 0xaa,
 457                          0xaa, 0xaa,
 458                          0xaa, 0xee,  //aa*4
 459                          0xee, 0xee,
 460                          0xee, 0xee,
 461                          0xee, 0xee,
 462                          0xee, 0xfe,  //ee*4
 463                          0xff, 0xff,
 464                          0xff, 0xff,
 465                          0xff, 0xff,
 466                          0xff, 0xff,
 467                          0xff, 0xff,  //FF*6
 468                          0xff, 0x7f,
 469                          0xbf, 0xdf,
 470                          0xef, 0xf7,
 471                          0xfb, 0xfd,
 472                          0xfc, 0x7e,
 473                          0xbf, 0xdf,
 474                          0xef, 0xf7,
 475                          0xfb, 0xfd,
 476                          0x7e,
 477                          0xb6, 0xce  // crc
 478                          //      0xff, 0xf7
 479          };


MODULE INFORMATION:   STATIC OVERLAYABLE
   CODE SIZE        =   ----    ----
   CONSTANT SIZE    =    331    ----
   XDATA SIZE       =   ----    ----
   PDATA SIZE       =   ----    ----
   DATA SIZE        =   ----    ----
   IDATA SIZE       =   ----    ----
C51 COMPILER V7.50   REQCODE                                                               10/30/2007 16:17:27 PAGE 9   

   BIT SIZE         =   ----    ----
END OF MODULE INFORMATION.


C51 COMPILATION COMPLETE.  0 WARNING(S),  0 ERROR(S)

⌨️ 快捷键说明

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