XenevaOS
Loading...
Searching...
No Matches
_ketimer.h
Go to the documentation of this file.
1
32#ifndef __KE_TIMER_H__
33#define __KE_TIMER_H__
34
35#include <_xeneva.h>
36
37#ifdef __cplusplus
39#endif
40
41
42#define _KE_TIMER_UNDIFINED_MAXCOUNT -1
43
44#define _KE_TIMER_UPDATE_ORDER_SECOND 1
45#define _KE_TIMER_UPDATE_ORDER_MINUTE 2
46#define _KE_TIMER_UPDATE_ORDER_HOUR 3
47#define _KE_TIMER_UPDATE_ORDER_INTERVAL 4
48
49#define TIMER_MESSAGE_CODE 8
50
51
58 XE_LIB int _KeCreateTimer(int threadID, int maxLimit, uint8_t updateMode);
59
64
69
75
76
77#ifdef __cplusplus
78}
79#endif
80
81#endif
int threadID
Definition main.cpp:58
XE_LIB int _KeStopTimer(int threadID)
_KeStopTimer– stop the timer
XE_LIB int _KeDestroyTimer(int threadID)
_KeDestroyTimer – remove the timer
XE_LIB int _KeCreateTimer(int threadID, int maxLimit, uint8_t updateMode)
_KeCreateTimer – create timer service
XE_LIB int _KeStartTimer(int threadID)
_KeStartTimer – starts the timer
#define XE_LIB
Definition _xeneva.h:55
#define XE_EXTERN
Definition _xeneva.h:50
unsigned char uint8_t
Definition acefiex.h:161