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

📄 reqcode.lst

📁 周立功dp1581usb2.0实验仪
💻 LST
📖 第 1 页 / 共 3 页
字号:
 362          {
 363                  
 364                  sizeof(ENDPOINT_DESCRIPTOR),    //Length of Standard Endpoint Descriptor
 365                          0x05,                                                           //Standard Endpoint Type
C51 COMPILER V7.01  REQCODE                                                                02/09/2004 20:43:54 PAGE 7   

 366                          0x83,                                                           //Enndpoint Address
 367                          0x01,                                                           //Endpoint Characteristic
 368                          SWAP(0x0040),                                           //Endpoint Max Packet Size
 369                          0x01                                                            //Interval for Polling Endpoint for data transfer
 370                          
 371          };
 372          
 373          ENDPOINT_DESCRIPTOR     code    Iso_Out_Zero_Descriptor[] =
 374          {
 375                  
 376                  sizeof(ENDPOINT_DESCRIPTOR),    //Length of Standard Endpoint Descriptor
 377                          0x05,                                                           //Standard Endpoint Type
 378                          0x03,                                                           //Enndpoint Address
 379                          0x01,                                                           //Endpoint Characteristic
 380                          SWAP(0x0000),                                           //Endpoint Max Packet Size
 381                          0x01                                                            //Interval for Polling Endpoint for data transfer
 382                          
 383          };
 384          
 385          ENDPOINT_DESCRIPTOR     code    Iso_In_Zero_Descriptor[] =
 386          {
 387                  
 388                  sizeof(ENDPOINT_DESCRIPTOR),    //Length of Standard Endpoint Descriptor
 389                          0x05,                                                           //Standard Endpoint Type
 390                          0x83,                                                           //Enndpoint Address
 391                          0x01,                                                           //Endpoint Characteristic
 392                          SWAP(0x0000),                                           //Endpoint Max Packet Size
 393                          0x01                                                            //Interval for Polling Endpoint for data transfer
 394                          
 395          };
 396          
 397          //***********************************************************************
 398          //*                                                                                                                                                    *
 399          //*     Routine         :  Standard String Descriptor                                      *
 400          //*     Input           :  None                                                                                          *
 401          //*     Output  :  None                                                                    *
 402          //*     Function        :  None                                                            *
 403          //*                                                                                                                                                            *
 404          //***********************************************************************
 405          
 406          STRING_DESCRIPTOR       code    Standard_Product_String[] =          
 407          
 408          {        0x30,     /* length                   */
 409          0x03,      /* descriptor type = string */
 410          'P' , 0x00,
 411          'h' , 0x00,
 412          'i' , 0x00,
 413          'l' , 0x00,
 414          'i' , 0x00,
 415          'p' , 0x00,
 416          's' , 0x00,
 417          ' ' , 0x00,
 418          'I' , 0x00,
 419          'S' , 0x00,
 420          'P' , 0x00,
 421          '1' , 0x00,
 422          '5' , 0x00,
 423          '8' , 0x00,
 424          '1' , 0x00,
 425          ' ' , 0x00,
 426          'V' , 0x00,
 427          'e' , 0x00,
C51 COMPILER V7.01  REQCODE                                                                02/09/2004 20:43:54 PAGE 8   

 428          'r' , 0x00,
 429          ' ' , 0x00,
 430          '1' , 0x00,
 431          '.' , 0x00,
 432          '0' , 0x00
 433          };
 434          
 435          //***********************************************************************
 436          //*                                                                                                                                                    *
 437          //*     Routine         :  Standard String Descriptor                                      *
 438          //*     Input           :  None                                                                                          *
 439          //*     Output  :  None                                                                    *
 440          //*     Function        :  None                                                            *
 441          //*                                                                                                                                                            *
 442          //***********************************************************************
 443          
 444          STRING_DESCRIPTOR       code    Standard_Manufacturer_String[] =             
 445          
 446          {        0x1C,     /* length                   */
 447          0x03,      /* descriptor type = string */
 448          'P' , 0x00,
 449          'h' , 0x00,
 450          'i' , 0x00,
 451          'l' , 0x00,
 452          'i' , 0x00,
 453          'p' , 0x00,
 454          ' ' , 0x00,
 455          '-' , 0x00,
 456          ' ' , 0x00,
 457          'A' , 0x00,
 458          'P' , 0x00,
 459          'I' , 0x00,
 460          'C' , 0x00
 461          };
 462          
 463          
 464          
 465          //***********************************************************************
 466          //*                                                                                                                                                    *
 467          //*     Routine         :  Standard String Identifications                              *
 468          //*     Input           :  None                                                                                          *
 469          //*     Output  :  None                                                                    *
 470          //*     Function        :  None                                                            *
 471          //*                                                                                                                                                            *
 472          //***********************************************************************
 473          
 474          STRING_ID       code    Standard_String_ID[] = 
 475          {
 476                  
 477                  0x04,
 478                          0x03,
 479                          0x09,
 480                          0x04
 481                          
 482          };                                                                                                                               
 483          
 484          
 485          
 486          //***********************************************************************
 487          //*                                                                                                                                                    *
 488          //*     Routine         :  Standard Mass Storage Identifications                 *
 489          //*     Input           :  None                                                                                          *
C51 COMPILER V7.01  REQCODE                                                                02/09/2004 20:43:54 PAGE 9   

 490          //*     Output  :  None                                                                    *
 491          //*     Function        :  None                                                            *
 492          //*                                                                                                                                                            *
 493          //***********************************************************************
 494          UC code  Test_Packet[] =
 495          {
 496                  //      0x00, 0x00,
 497                  //      0x00, 0x80, // syn pattern
 498                  0xc3,
 499                          0x00, 0x00,
 500                          0x00, 0x00,
 501                          0x00, 0x00,
 502                          0x00, 0x00,
 503                          0x00, 0xaa,
 504                          0xaa, 0xaa,
 505                          0xaa, 0xaa,
 506                          0xaa, 0xaa,
 507                          0xaa, 0xee,  //aa*4
 508                          0xee, 0xee,
 509                          0xee, 0xee,
 510                          0xee, 0xee,
 511                          0xee, 0xfe,  //ee*4
 512                          0xff, 0xff,
 513                          0xff, 0xff,
 514                          0xff, 0xff,
 515                          0xff, 0xff,
 516                          0xff, 0xff,  //FF*6
 517                          0xff, 0x7f,
 518                          0xbf, 0xdf,
 519                          0xef, 0xf7,
 520                          0xfb, 0xfd,
 521                          0xfc, 0x7e,
 522                          0xbf, 0xdf,
 523                          0xef, 0xf7,
 524                          0xfb, 0xfd,
 525                          0x7e,
 526                          0xb6, 0xce  // crc
 527                          //      0xff, 0xf7
 528          };


MODULE INFORMATION:   STATIC OVERLAYABLE
   CODE SIZE        =   ----    ----
   CONSTANT SIZE    =    331    ----
   XDATA SIZE       =   ----    ----
   PDATA SIZE       =   ----    ----
   DATA SIZE        =   ----    ----
   IDATA SIZE       =   ----    ----
   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 + -