[][src]Trait embedded_hal::watchdog::Watchdog

pub trait Watchdog {
    type Error;
    fn try_feed(&mut self) -> Result<(), Self::Error>;
}

Feeds an existing watchdog to ensure the processor isn't reset. Sometimes the "feeding" operation is also referred to as "refreshing".

Associated Types

type Error

An enumeration of Watchdog errors.

For infallible implementations, will be Infallible

Loading content...

Required methods

fn try_feed(&mut self) -> Result<(), Self::Error>

Triggers the watchdog. This must be done once the watchdog is started to prevent the processor being reset.

Loading content...

Implementors

Loading content...