📄 beptimer.h
字号:
/***************************************************************************
*
* Module: beptimer.h
*
* Description: timer.
*
* Author: chenjian
*
* Copyright 2000, Trillium Digital Systems, Inc., All rights reserved
*
*
* Change Log:
*
* Date By Description
* ======== ======== ====================================================
* 10/29/03 chenjian Created
*
***************************************************************************/
#ifndef __BEPTIMER_H__
#define __BEPTIMER_H__
#ifdef __cplusplus
extern "C" {
#endif
/*
* VxWorks include files
*/
/*
* Defines
*/
#define MAX_TIMER_NUM 16
#define TRUE 1
#define FALSE 0
/******************************************************************************
* *
* TYPEDEFS
* *
*****************************************************************************/
typedef struct
{
int iInUse;
unsigned int iEndTick;
} s_timer;
extern void TimerInit();
extern int CreateTimer(unsigned int iTime);
extern void DeleteTimer(int* piTimerId);
extern void DeleteTimerId(int iTimerId);
extern int getTimeOut(int iDelete, int* piTimeOut);
#ifdef __cplusplus
}
#endif
#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -