readme.txt

来自「英贝德EBD9200-I开发板的LCD驱动程序源代码,可在ADS下编译」· 文本 代码 · 共 61 行

TXT
61
字号
HOWTO use LCD:
the files s1d13806.h and main.c must be modified.
as follows :


1.	STN 320x240

	1) the source is : s1d13806.h
		#define		H_MAX_RES	320
		#define		V_MAX_RES	240

	3) the source is : main.c
		AT91F_S1D13806_Init ( s1d13506_base,
					S1D13806_DISP_MEM_BASE,
					(unsigned int) STN_Display_Conf,
					(unsigned int) Display_Def_2,		// 320x 240 //
					(unsigned int) Char_Def_0, 			// 8 x 16 //
					(unsigned int) MCK_KHz ) ;

2.	TFT 640x480

	1) the source is : s1d13806.h
		#define		H_MAX_RES	640
		#define		V_MAX_RES	480

	3) the source is : main.c
		AT91F_S1D13806_Init ( s1d13506_base,
					S1D13806_DISP_MEM_BASE,
					(unsigned int) TFT_Display_Conf,
					(unsigned int) Display_Def_0,		// 640x 480 //
					(unsigned int) Char_Def_0, 			// 8 x 16 //
					(unsigned int) MCK_KHz ) ;

3	TFT 800x600

	1) the source is : s1d13806.h
		#define		H_MAX_RES	800
		#define		V_MAX_RES	600

	3) the source is : main.c
		AT91F_S1D13806_Init ( s1d13506_base,
					S1D13806_DISP_MEM_BASE,
					(unsigned int) TFT_Display_Conf,
					(unsigned int) Display_Def_1,		// 800x 600 //
					(unsigned int) Char_Def_0, 			// 8 x 16 //
					(unsigned int) MCK_KHz ) ;
4.	CRT 640x480

	1) the source is : s1d13806.h
		#define		H_MAX_RES	640
		#define		V_MAX_RES	480

	3) the source is : main.c
		AT91F_S1D13806_Init ( s1d13506_base,
					S1D13806_DISP_MEM_BASE,
					(unsigned int) CRT_Display_Conf,
					(unsigned int) Display_Def_0,		// 640x 480 //
					(unsigned int) Char_Def_0, 			// 8 x 16 //
					(unsigned int) MCK_KHz ) ;

⌨️ 快捷键说明

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