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§

type Time

Unit of time used by the watchdog

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.

Object Safety§

This trait is not object safe.

Implementors§

source§

impl WatchdogEnable for Rwdt

§

type Time = Duration<u64, 1, 1000000>

source§

impl<TG> WatchdogEnable for Wdt<TG>where TG: TimerGroupInstance,

§

type Time = Duration<u64, 1, 1000000>