Modifier and Type | Method and Description |
---|---|
static void |
WatchdogTimer.checkpoint(int checkpointId)
Validates the checkpoint identified by the given
checkpointId and
refreshes the watchdog if all checkpoints are passed. |
static int |
WatchdogTimer.getWatchdogTimeoutMs()
Gets the configured watchdog timeout period (in milliseconds).
|
static void |
WatchdogTimer.init()
Initializes the watchdog timer and the checkpoints registration system.
|
static boolean |
WatchdogTimer.isResetCause()
Checks whether the last reset was caused by the watchdog or not.
|
static int |
WatchdogTimer.registerCheckpoint()
Registers a watchdog checkpoint and returns its corresponding Id.
|
static void |
WatchdogTimer.start()
Starts the watchdog timer.
|
static void |
WatchdogTimer.stop()
Stops the watchdog timer and unregisters all existing checkpoints.
|
static void |
WatchdogTimer.unregisterCheckpoint(int checkpointId)
Unregisters the checkpoint with the given
checkpointId . |