3 * - By John Hodge (thePowersGang)
8 #ifndef _KERNEL_TIMERS_H_
9 #define _KERNEL_TIMERS_H_
12 * \brief Kernel timers
15 typedef struct sTimer tTimer;
18 * \brief Timer callback function
20 typedef void (tTimerCallback)(void *);
23 * \brief Creates a one-shot timer
24 * \param Delta Period of the timer
25 * \param Callback Function to call each time
26 * \param Argument Argument to pass to the callback
28 extern tTimer *Time_CreateTimer(int Delta, tTimerCallback *Callback, void *Argument);
30 * \brief Removed an active timer
32 extern void Time_RemoveTimer(tTimer *Timer);
34 * \brief Wait for a period of milliseconds
36 extern void Time_Delay(int Delay);