[][src]Struct nucleo_f042k6::watchdog::Watchdog

pub struct Watchdog { /* fields omitted */ }

Watchdog instance

Methods

impl Watchdog[src]

pub fn new(iwdg: IWDG) -> Watchdog[src]

Trait Implementations

impl WatchdogEnable for Watchdog[src]

type Time = IwdgTimeout

Unit of time used by the watchdog

impl Watchdog for Watchdog[src]

fn feed(&mut self)[src]

Feed the watchdog, so that at least one period goes by before the next reset

Auto Trait Implementations

impl Unpin for Watchdog

impl !Sync for Watchdog

impl Send for Watchdog

Blanket Implementations

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self