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

📄 abl_lcd_params.h

📁 SHARP_ARM720T_LH79524/5软件开发包_支持TFT_LCD_NAND_FLASH_ETH_USB
💻 H
字号:
/***********************************************************************
 * $Workfile:   abl_lcd_params.h  $
 * $Revision:   1.5  $
 * $Author:   NambiarA  $
 * $Date:   Jan 19 2005 14:18:08  $
 *
 * Project: Sharp LCD parameters
 *
 * Description:
 *     This file contains common LCD parameters used on all Sharp
 *     evaluation boards.
 *
 * Revision History:
 * $Log:   //smaicnt2/pvcs/VM/sharpmcu/archives/sharpmcu/software/abl/include/abl_lcd_params.h-arc  $
 * 
 *    Rev 1.5   Jan 19 2005 14:18:08   NambiarA
 * Added sharp_lm057qc & sharp_lm64k11
 * 
 *    Rev 1.4   Jan 11 2005 10:03:36   FuraD
 * Add support for LM057QB 4-bit STN panels.
 * 
 *    Rev 1.3   Dec 13 2004 11:12:28   WellsK
 * Corrected the "hrtft_spl_to_cls_delay" field size.
 * 
 *    Rev 1.2   Mar 29 2004 11:52:40   WellsK
 * Added support for LQ050 display.
 * 
 *    Rev 1.1   Dec 02 2003 10:04:22   WellsK
 * Added comments for minimum clock numbers for some
 * parameters.
 * 
 *    Rev 1.0   Oct 28 2003 10:25:32   WellsK
 * Initial revision.
 * 
 *
 ***********************************************************************
 * SHARP MICROELECTRONICS OF THE AMERICAS MAKES NO REPRESENTATION
 * OR WARRANTIES WITH RESPECT TO THE PERFORMANCE OF THIS SOFTWARE,
 * AND SPECIFICALLY DISCLAIMS ANY RESPONSIBILITY FOR ANY DAMAGES, 
 * SPECIAL OR CONSEQUENTIAL, CONNECTED WITH THE USE OF THIS SOFTWARE.
 *
 * SHARP MICROELECTRONICS OF THE AMERICAS PROVIDES THIS SOFTWARE SOLELY 
 * FOR THE PURPOSE OF SOFTWARE DEVELOPMENT INCORPORATING THE USE OF A 
 * SHARP MICROCONTROLLER OR SYSTEM-ON-CHIP PRODUCT. USE OF THIS SOURCE
 * FILE IMPLIES ACCEPTANCE OF THESE CONDITIONS.
 *
 * COPYRIGHT (C) 2001 SHARP MICROELECTRONICS OF THE AMERICAS, INC.
 *     CAMAS, WA
 **********************************************************************/

#ifndef ABL_SHARP_LCD_PARAM_H
#define ABL_SHARP_LCD_PARAM_H

#include "abl_types.h"

#ifdef __cplusplus
extern "C" {
#endif

/* LCD display types */
typedef enum {
    TFT = 0,      /* Panel type is standard TFT */
    ADTFT,        /* Panel type is advanced TFT */
    HRTFT,        /* Panel type is highly reflective TFT */
    MONO_4BIT,    /* Panel type is 4-bit mono */
    MONO_8BIT,    /* Panel type is 8-bit mono */
    CSTN          /* Panel type is color STN */
} LCD_PANEL_T;

/* Structure containing the parameters for the LCD panel */
typedef struct {
    UNS_8           h_back_porch;         /* Horizontal back porch in
                                             clocks (minimum of 1) */
    UNS_8           h_front_porch;        /* Horizontal front porch in
                                             clocks (minimum of 1) */
    UNS_8           h_sync_pulse_width;   /* HSYNC pulse width in
                                             clocks (minimum of 1) */
    UNS_16          pixels_per_line;      /* Pixels per line (horizontal
                                             resolution) */
    UNS_8           v_back_porch;         /* Vertical back porch in
                                             clocks */
    UNS_8           v_front_porch;        /* Vertical front porch in
                                             clocks */
    UNS_8           v_sync_pulse_width;   /* VSYNC pulse width in
                                             clocks (minimum 1 clock) */
    UNS_16          lines_per_panel;      /* Lines per panel (vertical
                                             resolution) */
    UNS_8           invert_output_enable; /* Invert output enable, 1 =
                                             invert*/
    UNS_8           invert_panel_clock;   /* Invert panel clock, 1 =
                                             invert*/
    UNS_8           invert_hsync;         /* Invert HSYNC, 1 = invert */
    UNS_8           invert_vsync;         /* Invert VSYNC, 1 = invert */
    UNS_8           ac_bias_frequency;    /* AC bias frequency in
                                             clocks (minimum 1) */
    UNS_8           bits_per_pixel;       /* Maximum bits per pixel the
                                             display supports */
    UNS_32          optimal_clock;        /* Optimal clock rate (Hz) */
    LCD_PANEL_T     lcd_panel_type;       /* LCD panel type */
    UNS_8           dual_panel;           /* Dual panel, 1 = dual panel
                                             display */

    /* The following parameters are needed for ADTFT and HRTFT panels
       only. For all other panels, these should be programmed to 0 */
    UNS_8           hrtft_cls_enable;     /* HRTFT CLS enable flag, 1 =
                                             enable */
    UNS_8           hrtft_sps_enable;     /* HRTFT SPS enable flag, 1 =
                                             enable */
    UNS_8           hrtft_lp_to_ps_delay; /* HRTFT LP to PS delay in
                                             clocks */
    UNS_8           hrtft_polarity_delay; /* HRTFT polarity delay in
                                             clocks */
    UNS_8           hrtft_lp_delay;       /* HRTFT LP delay in clocks */
    UNS_8           hrtft_spl_delay;      /* HRTFT SPL delay in
                                             clocks */
/* HRTFT SPL to CLKS delay */
    UNS_16          hrtft_spl_to_cls_delay;
} LCD_PARAM_T;

/* Sharp LQ035 portrait mode ADTFT display */
extern const LCD_PARAM_T sharp_lq035;

/* Sharp LQ039 HRTFT display */
extern const LCD_PARAM_T sharp_lq039;

/* Sharp LQ050 TFT display - also works for the LQ036 and LQ038
   LCDs */
extern const LCD_PARAM_T sharp_lq050;

/* Sharp LQ057 TFT display */
extern const LCD_PARAM_T sharp_lq057;

/* Sharp LQ064 TFT display */
extern const LCD_PARAM_T sharp_lq064;

/* Sharp LQ104 TFT display */
extern const LCD_PARAM_T sharp_lq104;

/* Sharp LQ121 TFT display */
extern const LCD_PARAM_T sharp_lq121;

/* Sharp LM10V DSTN display */
extern const LCD_PARAM_T sharp_lm10v;

/* Sharp LM057QB STN display */
extern const LCD_PARAM_T sharp_lm057qb;

/* Sharp LM057QC STN display */
extern const LCD_PARAM_T sharp_lm057qc;

/* Sharp LM64K11 STN display */
extern const LCD_PARAM_T sharp_lm64k11;

#ifdef __cplusplus
}
#endif

#endif /* ABL_SHARP_LCD_PARAM_H */

⌨️ 快捷键说明

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