📄 lcd_task_init_i.h
字号:
/* 联想 密级:绝密 保密期限:3年 */
/***CONFIDENTIAL *****************************************************
本文件属于公司秘密信息,请您恪守保密义务,勿向第三人透露。谢谢合作。
This file is confidential. Recipient(s) is(are) obligated to maintain secrecy
and is(are) not permitted to disclose the contents of this communication to others.
Thank you.
***********************************************************************/
/**************************************************************************
*
* 联想研究院移动通信研究室
* 软件处
*
* 联想研究院移动通信研究室 版权所有(c)
*
* 文件名 : lcd_task_init_i.h
*
* 目的 : This is source file on lcd platform (locosto)
*
* 作者 : fujl
*
* 生成日期 : 2006.03.30
*
* 修改纪录 :
*
*-------------------------------------------------------------------------
* 姓名 日期 版本 描述
*-------------------------------------------------------------------------
* fujl 2006.03.30 0.1 创建
***************************************************************************/
#ifndef __LCD_TASK_INIT_I_H__
#define __LCD_TASK_INIT_I_H__
#include "rv/rv_general.h" /* General Riviera definitions. */
#include "lcd/customer/lcd_cfg.h" // added by liujbb 2006/10/16
#ifdef LCD_DEBUG
#define LCD_debug DEBUG_PRINTF
#else
#define LCD_debug
#endif
#define LCD_COLOR_RED 0xf800
#define LCD_COLOR_GREEN 0x07e0
#define LCD_COLOR_BLUE 0x001f
#define LCD_COLOR_WHITE 0xffff
#define LCD_COLOR_BLACK 0x0000
typedef enum
{
BackLight_High = 0x01, // High Light
BackLight_Low = 0x02, // Middle Light
BackLight_VeryLow = 0x03, // verylow Light
BackLight_Off = 0x00 // Light off
}BACKLIGHT_STATE;
void lcd_ms_delay(UINT32 ms);
void lcd_us_delay(UINT32 us);
void LCD_WriteRegTable(unsigned short* table);
void Lcd_Drv_Init(void);
void Lcd_AUO_init(void);
void color_line_lcd_test(void);
void LCD_SleepOut(void);
void LCD_SleepIn(void);
#ifdef DEBUG_ENABLE
#define DEBUG_DRIVER
#endif
#ifdef DEBUG_DRIVER
#define DRIVER_TRACE(text) rvf_send_trace(text, sizeof(text)-1, NULL_PARAM, RV_TRACE_LEVEL_DEBUG_HIGH, LCD_USE_ID )
#define DRIVER_TRACE_PARAM(text,param) rvf_send_trace(text, sizeof(text)-1, param, RV_TRACE_LEVEL_DEBUG_HIGH, LCD_USE_ID )
#else
#define DRIVER_TRACE(text)
#define DRIVER_TRACE_PARAM(text,param)
#endif
#define DEBUG_VALUE(text,param) rvf_send_trace(text, sizeof(text)-1, param, RV_TRACE_LEVEL_DEBUG_HIGH, R2D_USE_ID )
#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -