|
Safe API Framework 0.1.0 build 384e6ae
Layered API framework for safety-related applications (ERTMS RBC reference targeting CENELEC EN 50128 SIL 4)
|
Watchdog configuration. More...
#include <rte_watchdog.h>
Data Fields | |
| rte_watchdog_type_t | type |
| const char * | name |
| rte_duration_ms_t | timeout_ms |
| rte_watchdog_action_t | action |
| void(*) | custom_action (void *ctx) |
| void * | context |
Watchdog configuration.
Defines watchdog behavior: type, timeout, recovery action.
Definition at line 75 of file rte_watchdog.h.
| rte_watchdog_type_t rte_watchdog_config_t::type |
Watchdog type (system/task/channel)
Definition at line 76 of file rte_watchdog.h.
| const char* rte_watchdog_config_t::name |
Watchdog name (for logging)
Definition at line 77 of file rte_watchdog.h.
| rte_duration_ms_t rte_watchdog_config_t::timeout_ms |
Timeout deadline (ms)
Definition at line 78 of file rte_watchdog.h.
| rte_watchdog_action_t rte_watchdog_config_t::action |
Recovery action on timeout
Definition at line 79 of file rte_watchdog.h.
| void(*) rte_watchdog_config_t::custom_action(void *ctx) |
Handler callback - required (rte_watchdog_create() returns RTE_STATUS_INVALID_PARAM otherwise) when action is RTE_WATCHDOG_ACTION_CUSTOM or RTE_WATCHDOG_ACTION_FAILOVER; unused for the other actions. REQ-WATCHDOG-001
Definition at line 80 of file rte_watchdog.h.
| void* rte_watchdog_config_t::context |
Context for callback
Definition at line 85 of file rte_watchdog.h.