Interface IWatchdogController
Contract for hardware that has a watchdog. Watchdogs are used to reset a device in the event that the application code on it has stopped responding.
Assembly: Meadow.Contracts.dll
View Source
public interface IWatchdogController
Methods
WatchdogEnable(TimeSpan)
Enables the watchdog. If WatchdogReset
isn't called within the
specified timeout
the device will reset.
View Source
void WatchdogEnable(TimeSpan timeout)
Parameters
Type | Name |
---|---|
System.TimeSpan | timeout |
WatchdogReset()
"Pets" the watchdog. By calling this within the timeout
specified in the WatchdogEnable
method, the device will not reset.
View Source
void WatchdogReset()