Struct stm32f4xx_hal::watchdog::IndependentWatchdog
source · [−]pub struct IndependentWatchdog { /* private fields */ }
Expand description
Wraps the Independent Watchdog (IWDG) peripheral
Implementations
sourceimpl IndependentWatchdog
impl IndependentWatchdog
sourcepub fn stop_on_debug(&self, dbgmcu: &DBGMCU, stop: bool)
pub fn stop_on_debug(&self, dbgmcu: &DBGMCU, 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
sourceimpl Debug for IndependentWatchdog
impl Debug for IndependentWatchdog
sourceimpl Watchdog for IndependentWatchdog
impl Watchdog for IndependentWatchdog
sourceimpl WatchdogEnable for IndependentWatchdog
impl WatchdogEnable for IndependentWatchdog
Auto Trait Implementations
impl RefUnwindSafe for IndependentWatchdog
impl Send for IndependentWatchdog
impl !Sync for IndependentWatchdog
impl Unpin for IndependentWatchdog
impl UnwindSafe for IndependentWatchdog
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more