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

📄 button_service.h

📁 一个简单的小型操作系统
💻 H
字号:

/***********************************************************************
 *
 * Module       : button.h
 * Description  : services a button interrupt
 * OS           : SLOS 0.09
 * Platform     : e7t
 * History      :
 *
 * December 7th 2001 Andrew N. Sloss
 * - created a button event example
 *
 * Note         :
 *
 * The eventButtonInit() has to be called before a button can be
 * called. This is achieved in the cinit.c 0latform_events%  
 *
 **********************************************************************/

/* -- eventButtonInit ---------------------------------------------------
 *                                                            
 * Description  :  Initialises the button interrupt
 *
 * Parameters   : none...   
 * Return       : none...
 * Notes        : none...
 *                                                                             
 */
 
void eventButtonInit(void);

/* -- eventButtonPressed -----------------------------------------------
 *
 * Description  : services button interrupt button by toggling LED1
 *
 * Parameters   : none...
 * Return       : none...
 * Notes        : none...
 *
 */

void eventButtonService(void);

⌨️ 快捷键说明

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