![]() |
Data Logger BLE Cellular Board
|
Watchdog module for Asset Tracker v2. More...
#include <zephyr/kernel.h>Go to the source code of this file.
Classes | |
| struct | watchdog_evt |
Typedefs | |
| typedef void(* | watchdog_evt_handler_t) (const struct watchdog_evt *evt) |
| Watchdog library event handler. | |
Enumerations | |
| enum | watchdog_evt_type { WATCHDOG_EVT_START , WATCHDOG_EVT_TIMEOUT_INSTALLED , WATCHDOG_EVT_FEED } |
Functions | |
| int | watchdog_init_and_start (void) |
| Initialize and start application watchdog module. | |
| void | watchdog_register_handler (watchdog_evt_handler_t evt_handler) |
| Register handler to receive watchdog callback events. | |
Watchdog module for Asset Tracker v2.
Definition in file watchdog_app.h.
| typedef void(* watchdog_evt_handler_t) (const struct watchdog_evt *evt) |
Watchdog library event handler.
| [in] | evt | The event and any associated parameters. |
Definition at line 32 of file watchdog_app.h.
| enum watchdog_evt_type |
| Enumerator | |
|---|---|
| WATCHDOG_EVT_START | |
| WATCHDOG_EVT_TIMEOUT_INSTALLED | |
| WATCHDOG_EVT_FEED | |
Definition at line 21 of file watchdog_app.h.
| int watchdog_init_and_start | ( | void | ) |
Initialize and start application watchdog module.
Initialize and start application watchdog module.
Definition at line 258 of file watchdog_app.c.


| void watchdog_register_handler | ( | watchdog_evt_handler_t | evt_handler | ) |
Register handler to receive watchdog callback events.
| evt_handler | Event handler. Handler is de-registered if parameter is NULL. |
Definition at line 291 of file watchdog_app.c.
