pub trait _embedded_hal_watchdog_WatchdogEnable {
    type Time;

    // Required method
    fn start<T>(&mut self, period: T)
       where T: Into<Self::Time>;
}
Expand description

Enables A watchdog timer to reset the processor if software is frozen or stalled.

Required Associated Types§

source

type Time

Unit of time used by the watchdog

Required Methods§

source

fn start<T>(&mut self, period: T)where T: Into<Self::Time>,

Starts the watchdog with a given period, typically once this is done the watchdog needs to be kicked periodically or the processor is reset.

Implementations on Foreign Types§

source§

impl WatchdogEnable for Watchdog

source§

fn start<T>(&mut self, period: T)where T: Into<<Watchdog as WatchdogEnable>::Time>,

Enables a watchdog timer to reset the processor if software is frozen or stalled.

§

type Time = u8

Implementors§