|
PebbleOS v4.47.0-512-g5285d4236
|
#include <pbl/drivers/mcu_reboot_reason.h>Functions | |
| void | watchdog_init (void) |
| Configure the watchdog, without starting it. | |
| void | watchdog_start (void) |
| Start the watchdog. | |
| void | watchdog_stop (void) |
| Stop the watchdog. | |
| void | watchdog_feed (void) |
| Restart the watchdog countdown. | |
| bool | watchdog_check_reset_flag (void) |
| Check whether the last reset was caused by the watchdog. | |
| struct pbl_mcu_reboot_reason | watchdog_clear_reset_flag (void) |
| Read and clear the hardware reset cause. | |
| struct pbl_mcu_reboot_reason | watchdog_get_reset_flag (void) |
| Get the reset cause read by the last watchdog_clear_reset_flag(). | |