18 static unsigned int Handler(
void *common);
A hardware timer that wakes one thread at a fixed interval.
Definition periodictimer.h:8
int Stop()
Stop the timer.
unsigned int mInterval
Definition periodictimer.h:58
int mTimer
Definition periodictimer.h:57
int Init()
Allocate a 32-bit system clock timer with Handler() at a 6 millisecond interval.
int Free()
Release the timer.
int mThread
Definition periodictimer.h:56
int Start()
Start the timer.
static unsigned int Handler(void *common)
Wake the timer's thread.
void StartTickThread(void(*entry)())
Start a thread the tick timer wakes every 6 milliseconds.
int CreateThreadWithPriority(void(*entry)(), int priority)
Create a dormant C thread with a 2 KiB stack.
void StopTickThread()
Stop and release the tick timer, and delete the lock.