pub struct IndependentWatchdog { /* private fields */ }
Expand description
Wraps the Independent Watchdog (IWDG) peripheral
Implementations§
Source§impl IndependentWatchdog
impl IndependentWatchdog
Sourcepub fn stop_on_debug(&self, dbg: &DBG, stop: bool)
pub fn stop_on_debug(&self, dbg: &DBG, stop: bool)
Debug independent watchdog stopped when core is halted
Sourcepub fn interval(&self) -> MilliSeconds
pub fn interval(&self) -> MilliSeconds
Returns the interval in ms
pub fn start(&mut self, period: MilliSeconds)
pub fn feed(&mut self)
Trait Implementations§
Source§impl Watchdog for IndependentWatchdog
impl Watchdog for IndependentWatchdog
Source§impl WatchdogEnable for IndependentWatchdog
impl WatchdogEnable for IndependentWatchdog
Auto Trait Implementations§
impl Freeze for IndependentWatchdog
impl !RefUnwindSafe for IndependentWatchdog
impl Send for IndependentWatchdog
impl !Sync for IndependentWatchdog
impl Unpin for IndependentWatchdog
impl UnwindSafe for IndependentWatchdog
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more