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

📄 key.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  : key.h
   Functions  : KEY constant and function definition
   Revision   :

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

#ifndef  _KEY_H
#define  _KEY_H

#define  POWER_KEY       0x7C
#define  MENU_KEY        0xBC
#define  PLUS_KEY        0xDC
#define  MINUS_KEY       0xEC
#define  AUTO_KEY        0xF8
#define  DOWN_KEY        0xF4
#define  NO_KEY          0xFC

#define  INPUT_KEY       (DOWN_KEY & MENU_KEY)
#define  BURNIN_KEY      (MINUS_KEY & PLUS_KEY)
#define  RESET_KEY       (MINUS_KEY & PLUS_KEY)
#define  ISP_KEY         (MINUS_KEY & PLUS_KEY & AUTO_KEY)

extern void  KeyCheck(void);
extern void  Key(void);
extern Byte  KeyGetNextOsdNumber(Byte keyval);
extern void  KeyFunctionSW(void);
extern void  KeyMnProcess(Byte);
extern void  KeyRLProcess(void);
extern void  WordValAdd(void);
extern void  ByteValAdd(void);
extern void  SystemPowerOn(void);
extern void  SystemPowerOff(Bool);
extern void  SystemStandBy(void);
extern void  SystemInputSource(Byte);
//algu 1107 extern void  KeyPresetCheck(void);
extern  void    CheckPowerKey(void);

#endif

⌨️ 快捷键说明

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