Zephyr API Documentation 4.0.0-rc2
A Scalable Open Source RTOS
|
Task watchdog header file. More...
Go to the source code of this file.
Typedefs | |
typedef void(* | task_wdt_callback_t) (int channel_id, void *user_data) |
Task watchdog callback. | |
Functions | |
int | task_wdt_init (const struct device *hw_wdt) |
Initialize task watchdog. | |
int | task_wdt_add (uint32_t reload_period, task_wdt_callback_t callback, void *user_data) |
Install new timeout. | |
int | task_wdt_delete (int channel_id) |
Delete task watchdog channel. | |
int | task_wdt_feed (int channel_id) |
Feed specified watchdog channel. | |
Task watchdog header file.
This header file declares prototypes for the task watchdog APIs.
The task watchdog can be used to monitor correct operation of individual threads. It can be used together with a hardware watchdog as a fallback.