public interface IWatchdogService
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
SERVICE_NAME
Reports the class name representing this interface.
|
Modifier and Type | Method and Description |
---|---|
short |
getDefaultTimeout()
Returns the default timeout value of the hardware watchdog.
|
short |
getTimeout()
Returns the timeout value for the hardware watchdog in increments of 100ms.
|
void |
setTimeout(short timeout)
Sets the current timeout value for the underlying hardware watchdog.
|
void |
startWatchdog()
Starts the hardware watchdog on the device.
|
void |
stopWatchdog()
Stops the hardware Watchdog on the device
|
void |
updateWatchdog()
Updates the Watchdog to prevent a system reboot by resetting the timer
|
static final java.lang.String SERVICE_NAME
void startWatchdog()
void stopWatchdog()
void updateWatchdog()
short getTimeout()
short getDefaultTimeout()
void setTimeout(short timeout)
timeout
- A short representing the new timeout value in increments of 100ms.java.lang.Exception
- throws an Exception if the supplied timeout is not valid.Copyright © 2009 Eurotech Inc. All rights reserved.