32 #include "../../gfx.h"
34 #if GFX_USE_GTIMER || defined(__DOXYGEN__)
41 #define _GTIMER_DATA() {0,0,0,0,0,0,0}
44 #define GTIMER_DECL(name) GTimer name = _GTIMER_DATA()
47 typedef void (*GTimerFunction)(
void *param);
113 void gtimerStart(
GTimer *pt, GTimerFunction fn,
void *param, gBool periodic, gDelay millisec);
struct GTimer_t GTimer
A GTimer structure.
void gtimerJabI(GTimer *pt)
Jab a timer causing the current period to immediate expire.
void gtimerStart(GTimer *pt, GTimerFunction fn, void *param, gBool periodic, gDelay millisec)
Set a timer going or alter its properties if it is already going.
void gtimerInit(GTimer *pt)
Initialise a timer.
void gtimerDeinit(GTimer *pt)
Deinitialise a timer.
gBool gtimerIsActive(GTimer *pt)
Test if a timer is currently active.
void gtimerStop(GTimer *pt)
Stop a timer (periodic or otherwise)
void gtimerJab(GTimer *pt)
Jab a timer causing the current period to immediate expire.