tick_service.h

来自「一个简单的小型操作系统」· C头文件 代码 · 共 73 行

H
73
字号

/*****************************************************************************
 *
 * Module      : tick_service.c
 * Description : Header File
 * Platform    : Evaluator7T
 * History     : 
 *
 * 2000-03-25 Andrew N. Sloss
 * - implemented a tick service
 *
 *****************************************************************************/

/*****************************************************************************
 * IMPORT
 *****************************************************************************/

/* none... */

/*****************************************************************************
 * MACRO'S
 *****************************************************************************/

/* none... */

/*****************************************************************************
 * GLOBALS
 *****************************************************************************/

/* none... */

/*****************************************************************************
 * ROUTINES
 *****************************************************************************/

/* -- eventTickInit -----------------------------------------------------------
 *                                                            
 * Description  : Initialises the counter timer in milliseconds
 *
 * Parameters   : UINT msec - sets periodic timer in milliseconds
 * Return       : none...
 * Notes        : none...
 *                                                                             
 */

void eventTickInit(UINT msec);

/* -- eventTickService --------------------------------------------------------
 *                                                            
 * Description  : services an Tick event and resets the timer 
 *
 * Parameters   : none...
 * Return       : none...
 * Notes        : none...
 *                                                                             
 */

void eventTickService(void);

/* -- eventTickStart ---------------------------------------------------------
 *
 * Description  : switches on the periodic tick event
 *
 * Parameters   : none...
 * Return       : none...
 * Notes        : none...
 *
 */  

void eventTickStart(void);


⌨️ 快捷键说明

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