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

📄 lcd_sw_inc.h

📁 MTK平台的多种LCD驱动
💻 H
字号:
/*****************************************************************************
*  Copyright Statement:
*  --------------------
*  This software is protected by Copyright and the information contained
*  herein is confidential. The software may not be copied and the information
*  contained herein may not be used or disclosed except with the written
*  permission of MediaTek Inc. (C) 2001
*
*****************************************************************************/

/*****************************************************************************
 *
 * Filename:
 * ---------
 *    lcd_sw_inc.h
 *
 * Project:
 * --------
 *   Maui_Software
 *
 * Description:
 * ------------
 *   This file is abstract LCD driver functions and defination for MMI.
 *
 * Author:
 * -------
 * -------
 *
 *============================================================================
 *             HISTORY
 * Below this line, this part is controlled by PVCS VM. DO NOT MODIFY!!
 *------------------------------------------------------------------------------
 * removed!
 * removed!
 * removed!
 * removed!
 * removed!
 * removed!
 * removed!
 * removed!
 * removed!
 * removed!
 * removed!
 * removed!
 * removed!
 * removed!
 * removed!
 * removed!
 * removed!
 * removed!
 * removed!
 * removed!
 * removed!
 * removed!
 * removed!
 * removed!
 * removed!
 * removed!
 * removed!
 * removed!
 * removed!
 * removed!
 *
 *------------------------------------------------------------------------------
 * Upper this line, this part is controlled by PVCS VM. DO NOT MODIFY!!
 *============================================================================
 ****************************************************************************/
#ifndef _LCD_SW_INC_H
#define _LCD_SW_INC_H



/*************************************************************/
/* Main Parameter                                            */
/*************************************************************/
/* BEGIN 2005-03-15 TCL-xjinming added for GD85-2 LCD..... */
#if ((defined(__GD85_TCL_DRV_LCD_D15G17E_EPSON_1__)) || defined (__GD85_TCL_DRV_LCD_D15G17E_EPSON_2__))
	#define LCD_WIDTH             128
	#define LCD_HEIGHT            128  //128
#endif  //#if ((defined(__GD85_TCL_DRV_LCD_D15G17E_EPSON_1__)) || defined (__GD85_TCL_DRV_LCD_D15G17E_EPSON_2__))


#if (defined (__GD85_TCL_DRV_LCD_S6B33B0A_SAMSUNG__))
	#define LCD_WIDTH             128
	#define LCD_HEIGHT            128  //128
#endif 

#if (defined(__GD85_2_TCL_DRV_LCD_RENESAS_HD66791__))
	#define LCD_WIDTH             128
	#define LCD_HEIGHT            160  //128
#endif

#if (defined (__GD85_1_TCL_DRV_LCD_S6D0123_HITACHI__))
	#define LCD_WIDTH             128
	#define LCD_HEIGHT            160  //128
#endif

#if (defined(__GD85_TCL_DRV_LCD_S1D15G27_WINTEK__) || defined(__GD85_TCL_DRV_LCD_S1D15G27_TRULY__))  // add by xjinming 20050707
	#define LCD_WIDTH             128
	#define LCD_HEIGHT            128
#endif



/*************************************************************/
/* Sub Parameter                                            */
/*************************************************************/
//#ifdef __GD85_TCL_DRV_LCD_ST7565_SAMSUNG__   //modified by xjinming for TRULY LCD
#if (defined(__GD85_TCL_DRV_LCD_ST7565_LINDA__) || defined(__GD85_TCL_DRV_LCD_ST7565_TRULY__))
	#define SUBLCD_WIDTH          48//96
	#define SUBLCD_HEIGHT         64//64
#endif

#ifdef __GD85_2_TCL_DRV_LCD_L1F10289_EPSON__
	#define SUBLCD_WIDTH          96
	#define SUBLCD_HEIGHT         64
#endif

#if (defined( __GD85_2_TCL_DRV_LCD_S6B33B2_LINDA__))
	#define SUBLCD_WIDTH          96
	#define SUBLCD_HEIGHT         64
#endif

#if (defined (__GD85_1_TCL_DRV_LCD_SH1101A_RITDISPLAY__))
	#define SUBLCD_WIDTH          96
	#define SUBLCD_HEIGHT         64
#endif

/* END 2005-03-15 TCL-xjinming added for GD85-2 LCD..... */

#define UI_DEVICE_WIDTH             LCD_WIDTH
#define UI_DEVICE_HEIGHT            LCD_HEIGHT

#endif   /*_LCD_SW_INC_H*/

⌨️ 快捷键说明

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