rgb565.h

来自「terawin的t103 LCD驱动程序」· C头文件 代码 · 共 41 行

H
41
字号
/**********************************************************************************
* File: RGB565.h
* Description: This file includes initial T10x registers values, Tcon             *
*		        values and ScanMode for panel.                                     *
**********************************************************************************/


//*****Define initial for 8051 sample code. (PANEL.C)*****//
/*
#ifdef _800_480
	#define H_Size                  800
	#define V_Size                  480
	#define DFDIV_40                46
	#define DIDIV                   2
	#define DODIV                   2
	#define DWHSZ                   800
	#define DWVSZ                   480
	#define DWVSST                  0x10
	#define DISP_DFLT_HTOTAL        1299
	#define DISP_DFLT_VTOTAL        524
	#define DISP_DFLT_HSWIDTH       16
	#define DISP_DFLT_VSWIDTH       3
	#define DISP_DFLT_HDENS         233
	#define DISP_DFLT_VDENS         13
	#define LBprfl                  36680
#endif   // _800_480
*/
//*******************************************************//

#ifndef __RGB565_H__
#define __RGB565_H__
/*******************************************************************************
*          T10x Output timing Register Adress and Value for static condition   *
*******************************************************************************/
extern unsigned char code ucaZoomAdrP0_RGB565[29];
extern unsigned char code ucaZoomAdrP1_RGB565[6];
extern unsigned char code ucaZoomDataP0_RGB565[29];
extern unsigned char code ucaZoomDataP1_RGB565[6];
//************************************************//

#endif	//__RGB565_H__

⌨️ 快捷键说明

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