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

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

Detailed Description

Watchdog configuration.

Defines watchdog behavior: type, timeout, recovery action.

Definition at line 75 of file rte_watchdog.h.

Field Documentation

◆ type

rte_watchdog_type_t rte_watchdog_config_t::type

Watchdog type (system/task/channel)

Definition at line 76 of file rte_watchdog.h.

◆ name

const char* rte_watchdog_config_t::name

Watchdog name (for logging)

Definition at line 77 of file rte_watchdog.h.

◆ timeout_ms

rte_duration_ms_t rte_watchdog_config_t::timeout_ms

Timeout deadline (ms)

Definition at line 78 of file rte_watchdog.h.

◆ action

rte_watchdog_action_t rte_watchdog_config_t::action

Recovery action on timeout

Definition at line 79 of file rte_watchdog.h.

◆ custom_action

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.

◆ context

void* rte_watchdog_config_t::context

Context for callback

Definition at line 85 of file rte_watchdog.h.


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