[−][src]Struct esp32_hal::timer::watchdog::Watchdog
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
fn start<T: Into<NanoSecondsU64>>(&mut self, period: T)
[src]
Auto Trait Implementations
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,
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, 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.
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>,