Trait gd32vf103_hal::prelude::_embedded_hal_watchdog_Watchdog[][src]

pub trait _embedded_hal_watchdog_Watchdog {
    type Error;
    pub 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[src]

An enumeration of Watchdog errors.

For infallible implementations, will be Infallible

Loading content...

Required methods

pub fn try_feed(&mut self) -> Result<(), Self::Error>[src]

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

Loading content...

Implementors

impl Watchdog for Free<Enabled>[src]

type Error = Infallible

Loading content...