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

📄 add_keyp.h

📁 Nulceus下的键盘驱动程序
💻 H
字号:
#ifndef ADD_KEYP_H #define ADD_KEYP_H/** @file *//* -----------------------------------------------------------------------------Copyright (C) Siemens AG 1994-2001 * ALL RIGHTS RESERVED  This software is protected by the inclusion of the above copyright  notice. This software may not be provided or otherwise made available  to, or used by, any other person. No title to or ownership of the  software is  hereby  transferred.  The information contained in this document is considered the  CONFIDENTIAL and PROPRIETARY information of Siemens AG and may  not be disclosed or discussed with anyone who is not employed by  Siemens AG, unless the individual / company  (i) has an express need to know such information, and  (ii) disclosure of information is subject to the terms of a duly  executed Confidentiality and Non-Disclosure Agreement between  Siemens AG and the individual / company.Created using template RCSfile: templ_h.h,v, Revision: 1.5, genxfile V1.9.AUTHOR         Holger Hollenberg.FILENAME       add_keyp.h.TODO .VERSION        01.00.01.DATE           2003-11-13.SHORT_DESCR    Interface to mode manager..SW_COMPONENT   ADD device driver, container to container interface..SW_TYPE        DEVICE_DRIVER, INTERFACE.CHANGE_CONTROL Version  Date        Changed by         Reason of change--------------------------------------------------------------------------------01.00.00 2003-05-02  H. Hollenberg (KLF)         Initial Version01.00.01 2003-11-13  Holger Hollenberg (KLF)         add extern, remove functionsG  F  B  step up: Generation / Feature / Bugfix------------------------------------------------------------------------------*//* -----------------------------------------------------------------------------    INCLUDES------------------------------------------------------------------------------*//* -----------------------------------------------------------------------------    DEFINES------------------------------------------------------------------------------*//* -----------------------------------------------------------------------------    TYPES------------------------------------------------------------------------------*//* -----------------------------------------------------------------------------    CONSTANTS------------------------------------------------------------------------------*//* -----------------------------------------------------------------------------    PROTOTYPES------------------------------------------------------------------------------*//*-----------------------------------------------------------------------*//**   Init function for keypad device driver.   Call this function in UserInit().      \param  none   \return none*//*----------------------------------------------------------------------- */extern void Keyp_0Init(void); /*-----------------------------------------------------------------------*//**   This function deactivate the keypad device driver.   Call this function in UserDeact().   \param  none   \return none*//*----------------------------------------------------------------------- */extern void Keyp_0Exit(void);/*-----------------------------------------------------------------------*//**   End-Key detection for mode manager.   For the mode manager it is important to know what was the switch on   reason.   If the mobile was switch on by End-Key this function returns a 1.      \param  none      \return BIT      detection   \retval 0x1      : End-Key detected   \retval 0x0      : no End-Key detected*//*----------------------------------------------------------------------- */extern BIT Keyp_StatusEndKey(void);/*-----------------------------------------------------------------------*//**   Write interface to keypad buffer.   Keycodes and their correspondent release offsets are saved into the buffer.   \param  Keycode   \return none*//*----------------------------------------------------------------------- */extern void ddkeyp_WriteKeyToBuffer(unsigned char xcKeyChar);#ifdef __cplusplusextern "C" {#endif/* --------------------------------------------------------------------------- */#ifdef __cplusplus}#endif /* __cplusplus */#endif /* *//* -----------------------------------------------------------------------------    END OF FILE %name%----------------------------------------------------------------------------- */

⌨️ 快捷键说明

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