📄 lcd_params.c
字号:
/***********************************************************************
* File: lcd_params.c
* Rev: 1.0
* Author: Chun Sing Chu
* Date: March 26 2007
*
* Description:
* This file contains parameters for LCD panel used on FCC1 board.
*
* Revision History:
* Rev 1.0 March 26 2007
* Initial revision.
*
**********************************************************************/
#include "lcd_params.h"
/* Sharp LQ035 portrait mode ADTFT display parameters */
//const LCD_PARAM_T dh240 =
//{
// 40, /* Horizontal back porch */
// 10, /* Horizontal front porch */
// 28, /* HSYNC pulse width */
// 320, /* Pixels per line */
// 20, /* Vertical back porch */
// 20, /* Vertical front porch */
// 10, /* VSYNC pulse width */
// 240, /* Lines per panel */
// 0, /* Do not invert output enable */
// 1, /* Invert panel clock */
// 1, /* Do not Invert HSYNC */
// 0, /* Do not invert VSYNC */
// 1, /* AC bias frequency (not used) */
// 16, /* Bits per pixel */
// 6500000, /* Optimal clock rate (Hz) */
// ADTFT, /* LCD panel type */
// 0, /* Single panel display */
//};
const LCD_PARAM_T dh240 =
{
40, /* Horizontal back porch */
10, /* Horizontal front porch */
28, /* HSYNC pulse width */
320, /* Pixels per line */
19, /* Vertical back porch */
1, /* Vertical front porch */
1, /* VSYNC pulse width */
240, /* Lines per panel */
1, /* Do not invert output enable */
1, /* Invert panel clock */
1, /* Do not Invert HSYNC */
1, /* Do not invert VSYNC */
1, /* AC bias frequency (not used) */
16, /* Bits per pixel */
6500000, /* Optimal clock rate (Hz) */
ADTFT, /* LCD panel type */
0, /* Single panel display */
};
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -