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

📄 control.lst

📁 epsondriver 驱动源代码
💻 LST
📖 第 1 页 / 共 4 页
字号:
 587          *********************************************************************************************************/
 588          void SetVSPPQICSR (void)
 589          {
 590   1              n=875;
 591   1              for(i=0;i<=53;i++)
 592   1                      {
 593   2                              sRecComBuf[0]=SM_Receive (_24LC256, 4*n);
 594   2                              sRecComBuf[1]=SM_Receive (_24LC256, 4*n+1);
 595   2                              sRecComBuf[2]=SM_Receive (_24LC256, 4*n+2);
 596   2                              sRecComBuf[3]=SM_Receive (_24LC256, 4*n+3);
 597   2                              n++;
 598   2                              pointer=sRecComBuf;          //pointer->sRecComBuf[0]
 599   2                              Address0707=*pointer++<<8;
 600   2                              Address0707+=*pointer++;
 601   2                              Data0707   =*pointer++<<8;
 602   2                              Data0707   +=*pointer;
 603   2                              Address24LC256=*pointer++<<8; 
 604   2                              Address24LC256  +=*pointer++;     
 605   2                              pointer=sRecComBuf;          //pointer->sRecComBuf[0]
 606   2                              _0707READY();
 607   2                              WRITE_0707(Address0707,Data0707);
 608   2                              NONE_READY();
 609   2                      }
 610   1      }
 611          
C51 COMPILER V7.06   CONTROL                                                               06/13/2005 12:55:38 PAGE 11  

 612          
 613          
 614          
 615          /*********************************************************************************************************
 616          ----------------------------------------------------------------------------------------------------------
 617                                                                                          void SetVSPCUCSRa (void) 
 618                                                                                          Author            : Neil
 619                                                                                          Data              : 2005-5
 620          ----------------------------------------------------------------------------------------------------------
 621          This routine is read data and address 
 622          from 24lc256 to Set Video Signal Processing Color Uniformity Correction Setting Register
 623                          
 624          *********************************************************************************************************/
 625          void SetVSPCUCSRa (void)
 626          {
 627   1              n=929;
 628   1              for(i=0;i<=41;i++)
 629   1                      {
 630   2                              sRecComBuf[0]=SM_Receive (_24LC256, 4*n);
 631   2                              sRecComBuf[1]=SM_Receive (_24LC256, 4*n+1);
 632   2                              sRecComBuf[2]=SM_Receive (_24LC256, 4*n+2);
 633   2                              sRecComBuf[3]=SM_Receive (_24LC256, 4*n+3);
 634   2                              n++;
 635   2                              pointer=sRecComBuf;          //pointer->sRecComBuf[0]
 636   2                              Address0707=*pointer++<<8;
 637   2                              Address0707+=*pointer++;
 638   2                              Data0707   =*pointer++<<8;
 639   2                              Data0707   +=*pointer;
 640   2                              Address24LC256=*pointer++<<8; 
 641   2                              Address24LC256  +=*pointer++;     
 642   2                              pointer=sRecComBuf;          //pointer->sRecComBuf[0]
 643   2                              _0707READY();
 644   2                              WRITE_0707(Address0707,Data0707);
 645   2                              NONE_READY();
 646   2                      }
 647   1      }
 648          
 649          
 650          
 651          
 652          /*********************************************************************************************************
 653          ----------------------------------------------------------------------------------------------------------
 654                                                                                          void SetVSPCUCSRb (void) 
 655                                                                                          Author            : Neil
 656                                                                                          Data              : 2005-5
 657          ----------------------------------------------------------------------------------------------------------
 658          This routine is read data and address 
 659          from 24lc256 to Set Video Signal Processing Color Uniformity Correction Setting Register 
 660          NOTICE:
 661                  Several data items are written to the same register.
 662                  Be sure to reset the address counter before writing the first data
 663                          
 664          *********************************************************************************************************/
 665          void SetVSPCUCSRb (void)
 666          {
 667   1              n=971;
 668   1              for(i=0;i<=9;i++)
 669   1                      {
 670   2                              sRecComBuf[0]=SM_Receive (_24LC256, 4*n);
 671   2                              sRecComBuf[1]=SM_Receive (_24LC256, 4*n+1);
 672   2                              sRecComBuf[2]=SM_Receive (_24LC256, 4*n+2);
 673   2                              sRecComBuf[3]=SM_Receive (_24LC256, 4*n+3);
C51 COMPILER V7.06   CONTROL                                                               06/13/2005 12:55:38 PAGE 12  

 674   2                              n++;
 675   2                              pointer=sRecComBuf;          //pointer->sRecComBuf[0]
 676   2                              Address0707=*pointer++<<8;
 677   2                              Address0707+=*pointer++;
 678   2                              Data0707   =*pointer++<<8;
 679   2                              Data0707   +=*pointer;
 680   2                              Address24LC256=*pointer++<<8; 
 681   2                              Address24LC256  +=*pointer++;     
 682   2                              pointer=sRecComBuf;          //pointer->sRecComBuf[0]
 683   2                              _0707READY();
 684   2                              WRITE_0707(Address0707,Data0707);
 685   2                              NONE_READY();
 686   2                      }
 687   1      }
 688          
 689          
 690          
 691          
 692          /*********************************************************************************************************
 693          ----------------------------------------------------------------------------------------------------------
 694                                                                                          void Set6100R (void) 
 695                                                                                          Author            : Neil
 696                                                                                          Data              : 2005-5
 697          ----------------------------------------------------------------------------------------------------------
 698          This routine is read data and address 
 699          from 24lc256 to Set Red LCD panel voltage
 700                          
 701          *********************************************************************************************************/
 702          void Set6100R (void)
 703          {
 704   1              n=981;
 705   1              sRecComBuf[0]=SM_Receive (_24LC256, 4*n);
 706   1              sRecComBuf[1]=SM_Receive (_24LC256, 4*n+1);
 707   1              pointer=sRecComBuf;          //pointer->sRecComBuf[0]
 708   1              DataAddress6100=*pointer++<<4;
 709   1              DataAddress6100+=*pointer++;
 710   1              _B6100READY() ;                //Ready for red 6100
 711   1              WRITE_6100(DataAddress6100);
 712   1              NONE_READY();
 713   1      }
 714          
 715          
 716          
 717          
 718          /*********************************************************************************************************
 719          ----------------------------------------------------------------------------------------------------------
 720                                                                                          void Set6100G (void) 
 721                                                                                          Author            : Neil
 722                                                                                          Data              : 2005-5
 723          ----------------------------------------------------------------------------------------------------------
 724          This routine is read data and address 
 725          from 24lc256 to Set Green LCD panel voltage
 726                          
 727          *********************************************************************************************************/
 728          void Set6100G (void)
 729          {
 730   1              n=982;
 731   1              sRecComBuf[0]=SM_Receive (_24LC256, 4*n);
 732   1              sRecComBuf[1]=SM_Receive (_24LC256, 4*n+1);
 733   1              pointer=sRecComBuf;          //pointer->sRecComBuf[0]
 734   1              DataAddress6100=*pointer++<<4;
 735   1              DataAddress6100+=*pointer++;
C51 COMPILER V7.06   CONTROL                                                               06/13/2005 12:55:38 PAGE 13  

 736   1              _B6100READY() ;                //Ready for red 6100
 737   1              WRITE_6100(DataAddress6100);
 738   1              NONE_READY();
 739   1      }
 740          
 741          
 742          
 743          
 744          /*********************************************************************************************************
 745          ----------------------------------------------------------------------------------------------------------
 746                                                                                          void Set6100B (void) 
 747                                                                                          Author            : Neil
 748                                                                                          Data              : 2005-5
 749          ----------------------------------------------------------------------------------------------------------
 750          This routine is read data and address 
 751          from 24lc256 to Set Blue LCD panel voltage
 752                          
 753          *********************************************************************************************************/
 754          void Set6100B (void)
 755          {
 756   1              n=983;
 757   1              sRecComBuf[0]=SM_Receive (_24LC256, 4*n);
 758   1              sRecComBuf[1]=SM_Receive (_24LC256, 4*n+1);
 759   1              pointer=sRecComBuf;          //pointer->sRecComBuf[0]
 760   1              DataAddress6100=*pointer++<<4;
 761   1              DataAddress6100+=*pointer++;
 762   1              _B6100READY() ;                //Ready for red 6100
 763   1              WRITE_6100(DataAddress6100);
 764   1              NONE_READY();
 765   1      }
 766          
 767          #undef CTONL_C


MODULE INFORMATION:   STATIC OVERLAYABLE
   CODE SIZE        =   3917    ----
   CONSTANT SIZE    =   ----    ----
   XDATA SIZE       =      7    ----
   PDATA SIZE       =   ----    ----
   DATA SIZE        =     25    ----
   IDATA SIZE       =   ----    ----
   BIT SIZE         =      1    ----
END OF MODULE INFORMATION.


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

⌨️ 快捷键说明

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