#include "SFBTypes.h"


Go to the source code of this file.
Functions | |
| bool | watchdogActive () |
| void | watchdogSetInterval (u32 feedIntervalMs) |
| u32 | watchdogGetInterval () |
| bool | watchdogStart (u32 feedIntervalMs) |
| bool | watchdogFeed () |
| bool | watchdogGetTimeoutFlag () |
| void | watchdogClearTimeoutFlag () |
| void | watchdogSuicide () __attribute__((noreturn)) |
| Force a watchdog timeout to kill the system. | |
| bool | watchdogItWasSuicide () |
| True if watchdogGetTimeoutFlag() is only true because of a deliberate crash. | |
| void watchdogSuicide | ( | ) |
Force a watchdog timeout to kill the system.
This method first starts the watchdog if it's not already going. Then it resets the watchdog timeout to a short time special code (which watchdogItWasSuicide looks for), and then blocks until the watchdog timeout fires.