Trait gd32f1x0_hal::prelude::_embedded_watchdog_WatchdogEnable[][src]

pub trait _embedded_watchdog_WatchdogEnable {
    type Time;
    fn start<T>(&mut self, period: T)
    where
        T: Into<Self::Time>
; }
Expand description

Enables A watchdog timer to reset the processor if software is frozen or stalled.

Associated Types

type Time[src]

Expand description

Unit of time used by the watchdog

Loading content...

Required methods

fn start<T>(&mut self, period: T) where
    T: Into<Self::Time>, 
[src]

Expand description

Starts the watchdog with a given period, typically once this is done the watchdog needs to be kicked periodically or the processor is reset.

Loading content...

Implementors

impl WatchdogEnable for FreeWatchdog[src]

type Time = MilliSeconds

fn start<T: Into<Self::Time>>(&mut self, period: T)[src]

Loading content...