oveRTOS C API
Embedded RTOS framework — build system, configuration, and portable C API
Loading...
Searching...
No Matches
Functions
watchdog.h File Reference
#include "ove/types.h"
#include "ove_config.h"
#include "ove/storage.h"
Include dependency graph for watchdog.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

int ove_watchdog_init (ove_watchdog_t *wdt, ove_watchdog_storage_t *storage, uint32_t timeout_ms)
 Initialise a watchdog timer using caller-provided static storage.
 
void ove_watchdog_deinit (ove_watchdog_t wdt)
 Deinitialise a statically-allocated watchdog timer.
 
int ove_watchdog_create (ove_watchdog_t *wdt, uint32_t timeout_ms)
 Allocate and initialise a heap-backed watchdog timer.
 
void ove_watchdog_destroy (ove_watchdog_t wdt)
 Destroy a heap-allocated watchdog timer.
 
int ove_watchdog_start (ove_watchdog_t wdt)
 Start (arm) the watchdog timer.
 
int ove_watchdog_stop (ove_watchdog_t wdt)
 Stop (disarm) the watchdog timer.
 
int ove_watchdog_feed (ove_watchdog_t wdt)
 Feed (pet) the watchdog to prevent a system reset.