[][src]Trait bl602_hal::prelude::_embedded_hal_watchdog_Watchdog

pub trait _embedded_hal_watchdog_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

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.

Implementors