Trident IoT Z-Wave SDK
 
Loading...
Searching...
No Matches
zpal_watchdog.h
Go to the documentation of this file.
1// SPDX-FileCopyrightText: Silicon Laboratories Inc. <https://www.silabs.com/>
2//
3// SPDX-License-Identifier: BSD-3-Clause
4
12#ifndef ZPAL_WATCHDOG_H_
13#define ZPAL_WATCHDOG_H_
14
15#include <stdbool.h>
16
17#ifdef __cplusplus
18extern "C" {
19#endif
20
49
56
62void zpal_enable_watchdog(bool enable);
63
68
74#ifdef __cplusplus
75}
76#endif
77
78#endif /* ZPAL_WATCHDOG_H_ */
void zpal_enable_watchdog(bool enable)
Enables or disables the watchdog based on the input.
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_feed_watchdog(void)
Feeds the watchdog.