OSDN Git Service

Moved the junk codes to junk directory.
[kozos-expbrd/kozos_expbrd.git] / firm / junk / 02 / os / timer.h
1 #ifndef _TIMER_H_INCLUDED_
2 #define _TIMER_H_INCLUDED_
3
4 #define TIMER_START_FLAG_CYCLE (1<<0)
5
6 int timer_start(int index, int msec, int flags); /* ¥¿¥¤¥Þ³«»Ï */
7 int timer_is_expired(int index);                 /* ¥¿¥¤¥ÞËþλ¤·¤¿¤«¡© */
8 int timer_expire(int index);                     /* ¥¿¥¤¥ÞËþλ½èÍý */
9 int timer_cancel(int index);                     /* ¥¿¥¤¥Þ¥­¥ã¥ó¥»¥ë */
10 int timer_is_running(int index);                 /* ¥¿¥¤¥ÞÆ°ºîÃ椫¡© */
11 int timer_gettime(int index);                    /* ¥¿¥¤¥Þ¤Î¸½ºßÃÍ */
12
13 #endif