Enum kea_hal::system::watchdog::WDogClock[][src]

#[repr(u8)]
pub enum WDogClock {
    BusClock,
    LpoClock,
    IntRefClock,
    ExtRefClock,
}
Expand description

Enumeration of watchdog clocks

Variants

BusClock

Bus Clock.

Note that using this clock disables the watchdog’s backup reset functionality. The Watchdog periphal uses the bus block internally to operate. If the bus clock is lost and the WDogClock continues to increment the counter (i.e. it’s not also set to bus clock), after the counter overflows twice the backup reset functionality kicks in to reset the MCU.

LpoClock

Internal 1kHz Low Power Oscillator

IntRefClock

32kHz Internal Reference Clock

ExtRefClock

External Reference Clock

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. 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

Performs the conversion.

Performs the conversion.

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.