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

pub struct Watchdog<TIMG: TimerGroup> { /* fields omitted */ }

Implementations

impl<TIMG: TimerGroup> Watchdog<TIMG>[src]

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

Get watchdog configuration

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

Change watchdog timer configuration and start

pub fn clear_interrupt(&mut self)[src]

Trait Implementations

impl<TIMG: TimerGroup> Send for Watchdog<TIMG>[src]

impl<TIMG: TimerGroup> Watchdog for Watchdog<TIMG>[src]

Feed (=reset) the watchdog timer

impl<'a, TIMG: TimerGroup> WatchdogDisable for Watchdog<TIMG>[src]

Disable watchdog timer

impl<TIMG: TimerGroup> WatchdogEnable for Watchdog<TIMG>[src]

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

type Time = NanoSecondsU64

Unit of time used by the watchdog

Auto Trait Implementations

impl<TIMG> !Sync for Watchdog<TIMG>

impl<TIMG> Unpin for Watchdog<TIMG> where
    TIMG: 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, 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.