lcd0724.h

来自「基于三星0724芯片的液晶驱动程序」· C头文件 代码 · 共 40 行

H
40
字号
/*************************************************
 * Lcd0724.h
 * Head file of Lcd0724 module's operation
 * By Liu Lixun
 *************************************************/

#ifndef Lcd0724_H
#define Lcd0724_H

#include "types.h"
#include "scrmdl.h"

#ifdef __cplusplus
extern "C" {
#endif

uchar Lcd0724Init(void);
void Lcd0724SetCursor(uint x, uint y);
void Lcd0724PutDotmap(DOTMAP *block);
void Lcd0724PutBar(uint x1, uint y1, uint x2, uint y2);
void Lcd0724PutPixel(uint x, uint y);
void Lcd0724Clear(void);
void Lcd0724Power(uchar onoff);
void Lcd0724SetColor(ulong color);
ulong Lcd0724GetColor(void);
void Lcd0724SetBackColor(ulong color);
ulong Lcd0724GetBackColor(void);
void Lcd0724SetMode(uchar mode);
uchar Lcd0724GetMode(void);
uint Lcd0724GetX(void);
uint Lcd0724GetY(void);
void Lcd0724SetContrast(int value);
void Lcd0724SetBright(int value);

#ifdef __cplusplus
}
#endif

#endif

⌨️ 快捷键说明

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