[−][src]Struct msp432p401r_hal::watchdog::WatchdogTimer
Implementations
impl<S> WatchdogTimer<S> where
S: State,
[src]
S: State,
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.
pub fn try_disable(self) -> Result<Self::Target, Self::Error>
[src]
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()
.
pub fn try_start<T>(self, period: T) -> Result<Self::Target, Self::Error> where
T: Into<Self::Time>,
[src]
T: Into<Self::Time>,
impl Watchdog for WatchdogTimer<Enabled>
[src]
Auto Trait Implementations
impl<S> Send for WatchdogTimer<S> where
S: Send,
S: Send,
impl<S> Sync for WatchdogTimer<S> where
S: Sync,
S: Sync,
impl<S> Unpin for WatchdogTimer<S> where
S: Unpin,
S: Unpin,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
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]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,