[][src]Struct msp432p401r_hal::watchdog::WatchdogTimer

pub struct WatchdogTimer<S: State> { /* fields omitted */ }

Implementations

impl<S> WatchdogTimer<S> where
    S: State
[src]

pub fn new() -> WatchdogTimer<Enabled>[src]

pub fn current_state(&self) -> &S[src]

impl WatchdogTimer<Enabled>[src]

pub fn select_watchdog_mode(&self)[src]

Set WDT to Watchdog mode

pub fn select_timer_mode(&self)[src]

Set WDT to Timer mode

Trait Implementations

impl Disable for WatchdogTimer<Enabled>[src]

type Error = Infallible

An enumeration of Disable errors. Read more

type Target = WatchdogTimer<Disabled>

Disabled watchdog instance that can be enabled.

impl Enable for WatchdogTimer<Disabled>[src]

type Error = Infallible

An enumeration of Enable errors. Read more

type Time = Options

Unit of time used by the watchdog.

type Target = WatchdogTimer<Enabled>

The started watchdog that should be feed().

impl Watchdog for WatchdogTimer<Enabled>[src]

type Error = Infallible

An enumeration of Watchdog errors. Read more

Auto Trait Implementations

impl<S> Send for WatchdogTimer<S> where
    S: Send

impl<S> Sync for WatchdogTimer<S> where
    S: Sync

impl<S> Unpin for WatchdogTimer<S> where
    S: Unpin

Blanket Implementations

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

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

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

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

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

impl<T> Same<T> for T

type Output = T

Should always be Self

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> 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.