Defines a platform abstraction layer for the Z-Wave watchdog. More...
Functions | |
void | zpal_watchdog_init (void) |
Initialize watchdog before use, typically the next call will be zpal_enable_watchdog. | |
bool | zpal_is_watchdog_enabled (void) |
Returns whether the watchdog is enabled. | |
void | zpal_enable_watchdog (bool enable) |
Enables or disables the watchdog based on the input. | |
void | zpal_feed_watchdog (void) |
Feeds the watchdog. | |
Defines a platform abstraction layer for the Z-Wave watchdog.
How to use the watchdog API
The following outlines an example of use:
Note:
void zpal_enable_watchdog | ( | bool | enable | ) |
Enables or disables the watchdog based on the input.
[in] | enable | true enables the watchdog and false disables it. |
void zpal_feed_watchdog | ( | void | ) |
Feeds the watchdog.
bool zpal_is_watchdog_enabled | ( | void | ) |
Returns whether the watchdog is enabled.
void zpal_watchdog_init | ( | void | ) |
Initialize watchdog before use, typically the next call will be zpal_enable_watchdog.