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

📄 osdm.h

📁 keil C51 LCD 驱动源码,其中还有I2C驱动,ADC驱动,键盘操作等,是一个完整的keil源代码,供大家参考
💻 H
字号:
/****************************************************************************
   +----------------------------------------------------------------------+
   | Copyright Trumpion Microelectronics Inc. 1999                        |
   | Trumpion Microelectronics Inc. reserves the right to change products |
   | or specifications without notice.                                    |
   +----------------------------------------------------------------------+
   Project    : LCD monitor
   Version    : 0.94
   File Name  : osdm.h
   Functions  : global function definition in osdm.c
   Revision   :

   1999-05-18  OriginalTeam    First Created
   2000-07-17  Bill Tseng      Modified for Zurac-II
****************************************************************************/

#ifndef _OSDM_H
#define _OSDM_H

#define  MIDDLE          0x80

void    OsdHandler(void);
void    OsdMenuFrame(void);
void    OsdColorFont(void);
void    OsdMsgFrame(Byte);
void    OsdMenuItem(Byte);
void    OsdShowMessage(Byte);
void    OsdProcessBar(Byte,Byte);
void    OsdDisplayValue(Byte,Byte,Bool);
void    OsdEnable(Bool);
void    OsdClearAll(void);
void    OsdClearRow(Byte,Byte,Byte);
void    OsdPositionSet(void);
void    OsdOpenUp(void);
void    OsdInitCtrl(void);
void    OsdWrite(Byte,Byte);
void    OsdWriteChar(Byte,Byte);
void    OsdDisableWindow(Byte);
void    OsdSelectPage(Byte);
void    OsdSetAddress(Byte,Byte);
void    OsdSetRowAttr(Byte,Byte,Byte);
void    OsdWriteControl(Byte,Byte RDATA *,Byte);
void    PrintChar(Byte,Byte,Byte,Byte);
void    OsdWindow(Byte,Byte RDATA *);
void    OsdSetString(Byte RDATA *,Byte,Byte,Bool);
void    PrintString(Byte,Byte,Byte,Byte RDATA *);
void    OsdShowData(Byte,Byte,Byte);
void    OsdShowWindowA(void);
void    OsdShowWindowB(void);
void    OsdClearWinA(void);
void    OsdClearWinB(void);
void    OsdColorBar(Byte,Byte,Byte);
void    OutFacMenu(void);

#if (INTERNALOSD) //algu 1204
void    ZuracOsdLoadFont(void);
void 	InternalOsdSetRowAttr(Byte row, Byte attr_hi, Byte attr_lo);
void 	InternalPrintChar(Byte row,Byte col,Byte ch,Byte color);
void 	InternalOsdSetAddress(Byte row, Byte col);
void 	InternalOsdWriteChar(Byte content, Byte attr);
void 	InternalOsdClearRow( Byte start,Byte end,Byte attr);
#endif




//algu 1120 void    ShowOverRange(void);

// extern Byte  RDATA osdWindowAddr[];
// extern Byte  RDATA osdShadowAddr[];
// extern Byte  RDATA osdBarH[];
// extern Byte  RDATA osdBarV[];
// extern Byte  RDATA osdDecTable[];
#endif

⌨️ 快捷键说明

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