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

📄 xslcdparams.h

📁 优龙YLP270开发板 光盘自带的BIOS和实验例程源码 强烈推荐
💻 H
字号:
/******************************************************************************
**
**  COPYRIGHT (C) 2000, 2001 Intel Corporation.
**
**  This software as well as the software described in it is furnished under
**  license and may only be used or copied in accordance with the terms of the
**  license. The information in this file is furnished for informational use
**  only, is subject to change without notice, and should not be construed as
**  a commitment by Intel Corporation. Intel Corporation assumes no
**  responsibility or liability for any errors or inaccuracies that may appear
**  in this document or any software that may be provided in association with
**  this document.
**  Except as permitted by such license, no part of this document may be
**  reproduced, stored in a retrieval system, or transmitted in any form or by
**  any means without the express written consent of Intel Corporation.
**
**  FILENAME:       XsLcdParams.c
**
**  PURPOSE:        The parameters for various LCD panels
**
**  LAST MODIFIED:  $Modtime: 7/17/03 1:01p $
******************************************************************************/

// LCD_Toshiba_LTM04C380K
// initial values for the Toshiba 640X480 display, modified by hzh for pd064vt2
static DM_LcdDefinition_T Toshiba_LTM04C380K = {
          640,              // panelWidth (LCCR1)
          480,              // panelHeight
          0,                // extraLines
          Panel_TypeLcd,    // panelType
          0,                // dualPanel (FALSE)
          1,                // activeDisplay (TRUE)
          16,               // colorDepth (bits per pixel)
                            //******* LCCR1 ******** 
          63,               // horizSyncPW (horizontal sync pulse width)
          15,//94,               // horizELW (horizontal end of line pixel clock wait count)
          79,//0,                // horizBLW (horizontal beginning of line pixel clock wait count)
                            //******* LCCR2 ******** 
          01,//0,                // vertSyncPW (vertical sync pulse width)
          11,//45,               // vertEFW (vertical end of frame line clock wait count)
          32,//0,                // vertBFW (vertical beginning of frame clock wait count)
                            //******* LCCR3 ******** 
          02,//1,                // pixelClkDiv
          00,//1,                // frameSyncPol
          00,//1,                // horizSyncPol
          1,                // clockPol
          0,                // outputEnaPol
          0                 // acBiasCount
};
//===hzh
// CRT_640x480
// initial values for the CRT 640X480 display
static DM_LcdDefinition_T CRT_640X480 = {
          640,              // panelWidth (LCCR1)
          480,              // panelHeight
          0,                // extraLines
          Panel_TypeLcd,    // panelType
          0,                // dualPanel (FALSE)
          1,                // activeDisplay (TRUE)
          16,               // colorDepth (bits per pixel)
                            //******* LCCR1 ******** 
          63,               // horizSyncPW (horizontal sync pulse width)
          23,               // horizELW (horizontal end of line pixel clock wait count)
          71,               // horizBLW (horizontal beginning of line pixel clock wait count)
                            //******* LCCR2 ******** 
          01,               // vertSyncPW (vertical sync pulse width)
          11,               // vertEFW (vertical end of frame line clock wait count)
          32,               // vertBFW (vertical beginning of frame clock wait count)
                            //******* LCCR3 ******** 
          1,                // pixelClkDiv
          0,                // frameSyncPol
          0,                // horizSyncPol
          1,                // clockPol
          0,                // outputEnaPol
          0                 // acBiasCount
};
//===
// LCD_Sharp_LQ057Q3DC02
// initial values for the Sharp 320X240 display
/*
static DM_LcdDefinition_T Sharp_LQ057Q3DC02 = {
          240,              // panelWidth (LCCR1)
          320,              // panelHeight
          0,                // extraLines
          Panel_TypeLcd,    // panelType
          0,                // dualPanel (FALSE)
          1,                // activeDisplay (TRUE)
          16,               // colorDepth (bits per pixel)
                            //******* LCCR1 ******** 
          4,                // horizSyncPW (horizontal sync pulse width)
          4,                // horizELW (horizontal end of line pixel clock wait count)
5,//          4,                // horizBLW (horizontal beginning of line pixel clock wait count)
                            //******* LCCR2 ******** 
          2,                // vertSyncPW (vertical sync pulse width)
          3,                // vertEFW (vertical end of frame line clock wait count)
2,//          3,                // vertBFW (vertical beginning of frame clock wait count)
                            //******* LCCR3 ******** 
4,//          9,                // pixelClkDiv
          1,                // frameSyncPol
          1,                // horizSyncPol
          0,                // clockPol
          0,                // outputEnaPol
          0                 // acBiasCount
};
*/
//zzm for CT35T

static DM_LcdDefinition_T Sharp_LQ057Q3DC02 = {
          240,              // panelWidth (LCCR1)
          320,              // panelHeight
          0,                // extraLines
          Panel_TypeLcd,    // panelType
          0,                // dualPanel (FALSE)
          1,                // activeDisplay (TRUE)
          16,               // colorDepth (bits per pixel)
                            //******* LCCR1 ******** 
          1,//2,                // horizSyncPW (horizontal sync pulse width)
          10,                // horizELW (horizontal end of line pixel clock wait count)
10,//          4,                // horizBLW (horizontal beginning of line pixel clock wait count)
                            //******* LCCR2 ******** 
          1,                // vertSyncPW (vertical sync pulse width)
          5,                // vertEFW (vertical end of frame line clock wait count)
5,//          3,                // vertBFW (vertical beginning of frame clock wait count)
                            //******* LCCR3 ******** 
4,                // pixelClkDiv
          0,                // frameSyncPol
          0,                // horizSyncPol
          1,                // clockPol
          0,                // outputEnaPol
          0                 // acBiasCount
};

//zzm for CT35T
static DM_LcdDefinition_T Samsung_LTV350QV_F05 = {
          320,              // panelWidth (LCCR1)
          240,              // panelHeight
          0,                // extraLines
          Panel_TypeLcd,    // panelType
          0,                // dualPanel (FALSE)
          1,                // activeDisplay (TRUE)
          16,               // colorDepth (bits per pixel)
                            //******* LCCR1 ******** 
          18,               // horizSyncPW (horizontal sync pulse width)
          13,               // horizELW (horizontal end of line pixel clock wait count)
          32,               // horizBLW (horizontal beginning of line pixel clock wait count)
                            //******* LCCR2 ******** 
          5,                // vertSyncPW (vertical sync pulse width)
          5,                // vertEFW (vertical end of frame line clock wait count)
		  4,                // vertBFW (vertical beginning of frame clock wait count)
                            //******* LCCR3 ******** 
		  3,                // pixelClkDiv
          1,                // frameSyncPol
          0,                // horizSyncPol
          0,                // clockPol
          0,                // outputEnaPol
          0                 // acBiasCount
};

⌨️ 快捷键说明

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