uint32_t m_u32Interval
Interval of the timer in timer ticks.
static void Remove(Timer *pclListNode_)
Remove Remove a timer from the timer scheduler. May implicitly stop the timer if this is the only act...
bool IsInitialized(void)
IsInitialized.
uint8_t m_u8Flags
Flags for the timer, defining if the timer is one-shot or repeated.
void SetInitialized()
SetInitialized.
uint32_t m_u32TimeLeft
Time remaining on the timer.
TimerCallback m_pfCallback
Pointer to the callback function.
void Init()
Init Re-initialize the Timer to default values.
void Stop()
Stop Stop a timer already in progress. Has no effect on timers that have already been stopped...
void ClearNode()
ClearNode.
Timer()
Timer Default Constructor - Do nothing. Allow the init call to perform the necessary object initializ...
void(*)(Thread *pclOwner_, void *pvData_) TimerCallback
static void Add(Timer *pclListNode_)
Add Add a timer to the timer scheduler. Adding a timer implicitly starts the timer as well...
Single include file given to users of the Mark3 Kernel API.
static constexpr auto m_uTimerInvalidCookie
void Start()
Start Start or restart a timer using parameters previously configured via calls to Start(<with args>)...
static TimerList m_clTimerList
TimerList object manipu32ated by the Timer Scheduler.
static constexpr auto uTimerFlagOneShot
Timer is one-shot.
uint8_t m_u8Initialized
Cookie used to determine whether or not the timer is initialized.
void * m_pvData
Pointer to the callback data.
static constexpr auto uTimerFlagActive
Timer is currently active.
static Thread * GetCurrentThread()
GetCurrentThread Return the pointer to the currently-running thread.
Thread * m_pclOwner
Pointer to the owner thread.