www.pudn.com > s3c2410_code_Test.rar > LCD_DispHZ.h


/* 
********************************************************* 
* Copyright (c) 
* All rights reserved.				             
* 
* 文件名称:LCD_DispHZ.h 
* 文件标识:头文件 
* 摘    要:本文件是LCD显示汉字操作的头文件声明 
*            
* 当前版本:1.0 
* 作    者:刘征 
* 完成日期:2005.4.3 
* 
* 取代版本: 
* 作    者: 
* 完成日期: 
********************************************************* 
*/ 
#ifndef __LCD_DISPHZ_H__ 
#define __LCD_DISPHZ_H__ 
 
#ifdef __cplusplus 
extern "C" { 
#endif 
/* 
********************************************************* 
*   					 头文件 
********************************************************* 
*/ 
 
/* 
********************************************************* 
*   					 常量宏定义 
********************************************************* 
*/ 
//因为ASCII字符库为8*16,LCD尺寸320*240,所以最大显示40*30     
//一屏可显示15行,30列英文字符 
#define VGA_X_MAX	80//40 
#define VGA_Y_MAX	30//15 
 
/* 
********************************************************* 
*   					  变量 
********************************************************* 
*/ 
 
/* 
********************************************************* 
*   					函数声明 
********************************************************* 
*/ 
void Lcd_GotoXY(unsigned char x,unsigned char y); 
void Lcd_LineUp(unsigned int Up); 
void Lcd_Fill(unsigned int x,unsigned int y,unsigned char Fill,unsigned long colorIndex); 
void Lcd_PutHZ(unsigned int x,unsigned int y,unsigned short int QW,unsigned long colorIndex); 
void Lcd_PutASCII(unsigned int x,unsigned int y,unsigned char Fill,unsigned long colorIndex); 
void Lcd_printf(unsigned long colorIndex,char *fmt,...); 
 
#ifdef __cplusplus 
} 
#endif 
#endif  //__LCD_DISPHZ_H__