[−][src]Struct esp8266_hal::watchdog::Watchdog
Trait Implementations
impl Watchdog for Watchdog
[src]
impl WatchdogDisable for Watchdog
[src]
impl WatchdogEnable for Watchdog
[src]
type Time = (StageTimeout, StageTimeout)
Unit of time used by the watchdog
fn start<T>(&mut self, period: T) where
T: Into<Self::Time>,
[src]
T: Into<Self::Time>,
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.
Auto Trait Implementations
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,