Safe API Framework
Layered API framework for safety-related applications (ERTMS RBC reference targeting CENELEC EN 50128 SIL 4)
Loading...
Searching...
No Matches
sapi_watchdog_status_t Struct Reference

Watchdog health/status information. More...

#include <sapi_watchdog.h>

Data Fields

uint8_t active
uint32_t kicks
uint32_t fires
uint32_t recoveries
sapi_duration_ms_t time_since_last_kick
sapi_duration_ms_t time_until_fire

Detailed Description

Watchdog health/status information.

Retrieved via sapi_watchdog_get_status() for monitoring.

Definition at line 93 of file sapi_watchdog.h.

Field Documentation

◆ active

uint8_t sapi_watchdog_status_t::active

1 = watchdog enabled

Definition at line 94 of file sapi_watchdog.h.

◆ kicks

uint32_t sapi_watchdog_status_t::kicks

Total number of kicks

Definition at line 95 of file sapi_watchdog.h.

◆ fires

uint32_t sapi_watchdog_status_t::fires

Total number of timeouts

Definition at line 96 of file sapi_watchdog.h.

◆ recoveries

uint32_t sapi_watchdog_status_t::recoveries

Total recovery actions

Definition at line 97 of file sapi_watchdog.h.

◆ time_since_last_kick

sapi_duration_ms_t sapi_watchdog_status_t::time_since_last_kick

ms since last kick

Definition at line 98 of file sapi_watchdog.h.

◆ time_until_fire

sapi_duration_ms_t sapi_watchdog_status_t::time_until_fire

ms until timeout

Definition at line 99 of file sapi_watchdog.h.


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