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

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

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

Associated Types

An enumeration of Watchdog errors.

For infallible implementations, will be Infallible

Required methods

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

Implementations on Foreign Types

Implementors