lcd_panel_types.cpp

来自「NXP LPC3000系列 wince BSP包」· C++ 代码 · 共 48 行

CPP
48
字号
//*********************************************************************
//* Software that is described herein is for illustrative purposes only  
//* which provides customers with programming information regarding the  
//* products. This software is supplied "AS IS" without any warranties.  
//* NXP Semiconductors assumes no responsibility or liability for the 
//* use of the software, conveys no license or title under any patent, 
//* copyright, or mask work right to the product. NXP Semiconductors 
//* reserves the right to make changes in the software without 
//* notification. NXP Semiconductors also make no representation or 
//* warranty that such application will be suitable for the specified 
//* use without further testing or modification. 
//*
//* Copyright NXP Semiconductors
//*********************************************************************
//
// lcd_panel_types.c
//
// List of supported panel configurations
//

#include "precomp.h"
#include "lcd_panel_types.h"

//------------------------------------------------------------------------------

LCD_PARAM_T LCDPanelList[LCD_MAX_PANELS] = {
	{L"Hitachi TX09D71VM1CCA",
     22,       /* Horizontal back porch */
     11,       /* Horizontal front porch */
     5,        /* HSYNC pulse width */
     240,      /* Pixels per line */
     2,        /* Vertical back porch */
     1,        /* Vertical front porch */
     2,        /* VSYNC pulse width */
     320,      /* Lines per panel */
     0,        /* Do not invert output enable */
     0,        /* Invert panel clock */
     1,        /* Invert HSYNC */
     1,        /* Do not invert VSYNC */
     1,        /* AC bias frequency (not used) */
     16,       /* Bits per pixel */
     5213000,  /* Optimal clock rate (Hz) */
     TFT,  	   /* LCD panel type */
	 0,        /* Single panel display */
	{0x0000F800, 0x000007E0, 0x0000001F}}
};
//------------------------------------------------------------------------------

⌨️ 快捷键说明

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