Very Simple Kernel 0.1.0
Loading...
Searching...
No Matches
vsk_Timer Struct Reference

Software timer. More...

#include <vsk_Timer.h>

Data Fields

vsk_Timer_Class_tcls
 
ctb_DNode_t node
 
uint32_t delayMillis
 
uint32_t periodMillis
 
vsk_Timer_Callback_t callback
 
void * obj
 
uint32_t volatile millisCountDown
 
bool volatile isRunning
 

Detailed Description

Software timer.

Field Documentation

◆ callback

vsk_Timer_Callback_t vsk_Timer::callback

Callback function (called on timer expiration)

◆ cls

vsk_Timer_Class_t* vsk_Timer::cls

Timer class reference

◆ delayMillis

uint32_t vsk_Timer::delayMillis

Initial delay of the timer in milliseconds

◆ isRunning

bool volatile vsk_Timer::isRunning

Timer running state

◆ millisCountDown

uint32_t volatile vsk_Timer::millisCountDown

Milliseconds until the timer expires

◆ node

ctb_DNode_t vsk_Timer::node

Node to allow timer to be added to a list

◆ obj

void* vsk_Timer::obj

Object reference to pass to the callback (can be NULL)

◆ periodMillis

uint32_t vsk_Timer::periodMillis

Period of the timer after the initial delay in milliseconds


The documentation for this struct was generated from the following file: