pub struct Watchdog { /* private fields */ }

Trait Implementations

Triggers the watchdog. This must be done once the watchdog is started to prevent the processor being reset. Read more

Disables the watchdog

Start the watchdog timer

You can provide the time period either as a value in Milliseconds or Seconds, a single StageTimeOut or a pair of StageTimeout

If the period is provided as a time unit, the actual period will be an approximation of the provided period that is at least as long as the provided period or the maximum period of 53680 milliseconds.

Note that the default clock frequency of 80Mhz is assumed when converting from time units.

Unit of time used by the watchdog

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.