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

📄 acprd_keyb.h

📁 source code for a sample alarm control panel system using Freescale MC9S12DP256 . The project was im
💻 H
字号:
//=============================================================================
// File: ACPRD_KEYB.H - V1.00
// Rem.: The ACPRD Project Page on the Web -> http://hc12web.de/acprd
//=============================================================================

#ifndef __ACPRD_KEYB_H
#define __ACPRD_KEYB_H

//-- Definitions --------------------------------------------------------------

#define KEYB_MAX_KEYS		5		// total number of push buttons (channels)
#define KEYB_KC1			1
#define KEYB_KC2			2
#define KEYB_KC3			3
#define KEYB_KC4			4
#define KEYB_KC5			5

//-- Includes -----------------------------------------------------------------

//-- Datatype Definitions -----------------------------------------------------

//-- Extern Declarations ------------------------------------------------------

//-- Macros -------------------------------------------------------------------

//-- Function Prototypes ------------------------------------------------------

void initKeyb(void);
void flushKeyb(void);
void scanKeyb(void);
void putKeyb(UINT8 kcode);
UINT8 hasKeyb(void);
UINT8 getKeyb(void);

#endif //__ACPRD_KEYB_H =======================================================

⌨️ 快捷键说明

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