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

📄 lcd_params.c

📁 Keil工程例子,NXP新出的芯片lpc2478的示例代码
💻 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 + -