[−][src]Trait bl602_hal::prelude::_embedded_hal_watchdog_Enable
Enables A watchdog timer to reset the processor if software is frozen or stalled.
Associated Types
type Error
An enumeration of Enable
errors.
For infallible implementations, will be Infallible
type Time
Unit of time used by the watchdog.
type Target: Watchdog
The started watchdog that should be feed()
.
Required methods
fn try_start<T>(self, period: T) -> Result<Self::Target, Self::Error> where
T: Into<Self::Time>,
T: Into<Self::Time>,
Starts the watchdog with a given period, typically once this is done
the watchdog needs to be feed()
periodically, or the processor would be
reset.
This consumes the value and returns the Watchdog
trait that you must
feed()
.