Skip to content

Struct SYN_Timer

ClassList > SYN_Timer

Software timer descriptor.

  • #include <syn_timer.h>

Public Attributes

Type Name
bool active
SYN_TimerCallback callback
uint32_t period_ms
bool periodic
uint32_t target_tick
void * user_data

Public Attributes Documentation

variable active

bool SYN_Timer::active;

Currently running?


variable callback

SYN_TimerCallback SYN_Timer::callback;

Called on expiry (may be NULL)


variable period_ms

uint32_t SYN_Timer::period_ms;

Timer period in milliseconds


variable periodic

bool SYN_Timer::periodic;

true = auto-repeat, false = one-shot


variable target_tick

uint32_t SYN_Timer::target_tick;

Next expiry tick


variable user_data

void* SYN_Timer::user_data;

User context for callback



The documentation for this class was generated from the following file src/syntropic/sched/syn_timer.h