TuyaOS
uni_time_queue.h
浏览该文件的文档.
1
11#ifndef _UNI_TIME_QUEUE_H
12#define _UNI_TIME_QUEUE_H
13
14
15#include "tuya_cloud_types.h"
16#include "tal_sw_timer.h"
17
18#ifdef __cplusplus
19extern "C" {
20#endif
21
22//the handle of the timer queue
23typedef PVOID_T TIMER_QUE_HANDLE;
24
25//the timer's processing function
26typedef VOID (* P_TIMER_FUNC)(TIMER_ID timerID,PVOID_T pTimerArg);
27
28#define TIMER_ONCE TAL_TIMER_ONCE
29#define TIMER_CYCLE TAL_TIMER_CYCLE
30
31#ifdef __cplusplus
32}
33#endif /* __cplusplus */
34#endif
Common process - Initialization