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

📄 glib.h

📁 s3c2410开发板的测试代码,包括lcd
💻 H
字号:
/*
*********************************************************
* Copyright (c)
* All rights reserved.				            
*
* 文件名称:GLIB.H
* 文件标识:头文件
* 摘    要:本文件是LCD头文件声明
*           
* 当前版本:1.0
* 作    者:刘征
* 完成日期:2005.4.3
*
* 取代版本:
* 作    者:
* 完成日期:
*********************************************************
*/
#ifndef __GLIB_H__
#define __GLIB_H__

#ifdef __cplusplus
extern "C" {
#endif

/*
*********************************************************
*   					 函数
*********************************************************
*/
void Glib_Init(int type);

void Glib_Line(int x1,int y1,int x2,int y2,int color);
void Glib_Rectangle(int x1,int y1,int x2,int y2,int color);
void Glib_FilledRectangle(int x1,int y1,int x2,int y2,int color);
void Glib_ClearScr(U32 c,int type);

void _PutStn1Bit(U32 x,U32 y,U32 c);
void _PutStn2Bit(U32 x,U32 y,U32 c);
void _PutStn4Bit(U32 x,U32 y,U32 c);
void _PutCstn8Bit(U32 x,U32 y,U32 c);
void _PutCstn12Bit(U32 x,U32 y,U32 c);
void _PutTft8Bit_240320(U32 x,U32 y,U32 c);
void _PutTft16Bit_240320(U32 x,U32 y,U32 c);
void _PutTft1Bit_640480(U32 x,U32 y,U32 c);
void _PutTft8Bit_640480(U32 x,U32 y,U32 c);
void _PutTft16Bit_640480(U32 x,U32 y,U32 c);
void _PutTft24Bit_640480(U32 x,U32 y,U32 c);
void _PutTft1Bit_800600(U32 x,U32 y,U32 c);
void _PutTft8Bit_800600(U32 x,U32 y,U32 c);
void _PutTft16Bit_800600(U32 x,U32 y,U32 c);

void Lcd_Port_Init(void);
void Lcd_Port_Return(void);
void Lcd_Palette1Bit_Init(void);
void Lcd_Palette8Bit_Init(void);

extern void (*PutPixel)(U32,U32,U32);

#ifdef __cplusplus
}
#endif
#endif //__GLIB_H__

⌨️ 快捷键说明

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