本帖最后由 luoge2003 于 2014-12-17 20:49 编辑
vtimer_SetTimer(VTIM0,5000,fun);
函数定义.
void vtimer_SetTimer(VtimerName_t name,timer_res_t msec,void* pCallback)
{
sVtimer[name].msec = msec;
sVtimer[name].pCallback = pCallback;
}
void fun(void)
{
vtimer_SetTimer(VTIM0,5000,fun);
}
typedef enum {VTIM0,VTIM1,VTIM2,VTIM3,VTIM4,VTIM5,VTIM6,VTIM7,VTIM8,VTIM9,VTIM10,VTIMER_NUM} VtimerName_t;
这里的VTIM0-VTIM10代表什么含义?为什么找不到寄函数的定义原型
|