[][src]Struct esp32_hal::clock_control::watchdog::Watchdog

pub struct Watchdog { /* fields omitted */ }

Implementations

impl Watchdog[src]

pub fn config(&self) -> Result<WatchdogConfig, Error>[src]

Get watchdog configuration

pub fn set_config(&mut self, config: &WatchdogConfig)[src]

Change watchdog timer configuration and start

Trait Implementations

impl Watchdog for Watchdog[src]

Feed (=reset) the watchdog timer

impl<'a> WatchdogDisable for Watchdog[src]

Disable watchdog timer

impl WatchdogEnable for Watchdog[src]

Enable watchdog timer, only change stage 1 period, don't change default action

type Time = MicroSeconds

Unit of time used by the watchdog

Auto Trait Implementations

impl Send for Watchdog

impl Sync for Watchdog

impl Unpin for Watchdog

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