Struct 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¶
Currently running?
variable callback¶
Called on expiry (may be NULL)
variable period_ms¶
Timer period in milliseconds
variable periodic¶
true = auto-repeat, false = one-shot
variable target_tick¶
Next expiry tick
variable user_data¶
User context for callback
The documentation for this class was generated from the following file src/syntropic/sched/syn_timer.h