[][src]Trait avr_hal_generic::prelude::_embedded_hal_watchdog_WatchdogEnable

pub trait _embedded_hal_watchdog_WatchdogEnable {
    type Time;
    pub 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[src]

Unit of time used by the watchdog

Loading content...

Required methods

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

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...