systimer.h

来自「实现120无传感器变频输出」· C头文件 代码 · 共 30 行

H
30
字号
/***********************************************************************/
/*                                                                     */
/*  FILE        :systimer.h                                        */
/*  DATE        :Tue, Jun 07, 2005                                     */
/*  DESCRIPTION :Main Program                                          */
/*  CPU TYPE    :Other                                                 */
/*                                                                     */
/*  This file is coded by RSBJ WRD     */
/*                                                                     */
/***********************************************************************/
#include "typedefine.h"
#include "sfr26a.h"


void sys_timer(void);



/*#if SYSTM == 1
#define EXP
#else
#define EXP	extern 
#endif 
EXP TIMEBASE systm;*/

BOOLEAN get_curtime ( TIMEBASE * const cur_tm );

UINT_32 time_dif(TIMEBASE * const cur_tm,TIMEBASE *const pre_tm);

#define SUB(A,B) time_dif(&##A##,&##B##)

⌨️ 快捷键说明

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