Struct esp8266_hal::watchdog::Watchdog [−][src]
pub struct Watchdog { /* fields omitted */ }
Trait Implementations
Start the watchdog timer
You can provide the time period either as a value in Milliseconds
or Seconds
, a single StageTimeOut
or a pair of StageTimeout
If the period is provided as a time unit, the actual period will be an approximation of the provided period that is at least as long as the provided period or the maximum period of 53680 milliseconds.
Note that the default clock frequency of 80Mhz is assumed when converting from time units.
type Time = (StageTimeout, StageTimeout)
type Time = (StageTimeout, StageTimeout)
Unit of time used by the watchdog