pub struct Watchdog { /* private fields */ }
Expand description

Watchdog peripheral

Implementations

Create a new Watchdog

Starts tick generation on clk_tick which is driven from clk_ref.

Arguments
  • cycles - Total number of tick cycles before the next tick is generated.

Defines whether or not the watchdog timer should be paused when processor(s) are in debug mode or when JTAG is accessing bus fabric

Arguments
  • pause - If true, watchdog timer will be paused

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

Unit of time used by the watchdog

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

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.