Skip to content

Struct SYN_Watchdog

ClassList > SYN_Watchdog

Software watchdog — monitors task deadlines.

  • #include <syn_watchdog.h>

Public Attributes

Type Name
SYN_WDT_TimeoutCallback callback
uint8_t capacity
uint8_t count
void * ctx
SYN_WDT_Entry * entries
SYN_ErrLog * errlog

Public Attributes Documentation

variable callback

SYN_WDT_TimeoutCallback SYN_Watchdog::callback;

Function called on timeout deadline miss


variable capacity

uint8_t SYN_Watchdog::capacity;

Total slots allocated in entries array


variable count

uint8_t SYN_Watchdog::count;

Current number of registered tasks


variable ctx

void* SYN_Watchdog::ctx;

Context pointer for the callback


variable entries

SYN_WDT_Entry* SYN_Watchdog::entries;

Array of task monitoring entries


variable errlog

SYN_ErrLog* SYN_Watchdog::errlog;

If set, timeouts are logged



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