Skip to main content

_embedded_hal_watchdog_Watchdog

Trait _embedded_hal_watchdog_Watchdog 

Source
pub trait _embedded_hal_watchdog_Watchdog {
    // Required method
    fn feed(&mut self);
}
Expand description

Feeds an existing watchdog to ensure the processor isn’t reset. Sometimes commonly referred to as “kicking” or “refreshing”.

Required Methods§

Source

fn feed(&mut self)

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

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§