📄 mtimer.h
字号:
/*
* Copyright (C) Obigo AB, 2002-2005.
* All rights reserved.
*
* This software is covered by the license agreement between
* the end user and Obigo AB, and may be
* used and copied only in accordance with the terms of the
* said agreement.
*
* Obigo AB assumes no responsibility or
* liability for any errors or inaccuracies in this software,
* or any consequential, incidental or indirect damage arising
* out of the use of the software.
*
*/
#ifndef _MTIMER_H
#define _MTIMER_H
#define M_TIMER_SET(dst, dsecs) \
mTimerSet((dst), (dsecs), 0L, (UINT32)0L, (UINT32)0L)
#define M_TIMER_SET_I(dst, dsecs, i) \
mTimerSet((dst), (dsecs), (i), (UINT32)0L, (UINT32)0L)
#define M_TIMER_SET_U(dst, dsecs, u) \
mTimerSet((dst), (dsecs), 0L, (u), (UINT32)0L)
#define M_TIMER_SET_IU(dst, dsecs, i, u) \
mTimerSet((dst), (dsecs), (i), (u), (UINT32)0L)
#define M_TIMER_SET_IUU(dst, dsecs, i, u1, u2) \
mTimerSet((dst), (dsecs), (i), (u1), (u2))
#define M_TIMER_RESET(dst) \
mTimerReset((dst), 0L, (unsigned long)0L, (unsigned long)0L)
#define M_TIMER_RESET_I(dst, i) \
mTimerReset((dst), (i), (unsigned long)0L, (unsigned long)0L)
#define M_TIMER_RESET_U(dst, u) \
mTimerReset((dst), 0L, (u), (unsigned long)0L)
#define M_TIMER_RESET_IU(dst, i, u) \
mTimerReset((dst), (i), (u), (unsigned long)0L)
#define M_TIMER_RESET_IUU(dst, i, u1, u2) \
mTimerReset((dst), (i), (u1), (u2))
void mTimerInit(void);
void mTimerTerminate(void);
void mTimerSet( MmsStateMachine dst, UINT32 dsecs, long i_param, UINT32 u_param1, UINT32 u_param2);
void mTimerReset( MmsStateMachine dst, long i_param, UINT32 u_param1, UINT32 u_param2);
void mTimerExpired(void);
#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -