[][src]Trait embedded_hal::watchdog::WatchdogEnable

pub trait WatchdogEnable {
    type Time;
    fn start<T>(&mut self, period: T)
    where
        T: Into<Self::Time>
; }

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

Associated Types

type Time

Unit of time used by the watchdog

Loading content...

Required methods

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.

Loading content...

Implementors

Loading content...