[][src]Enum bluenrg::event::ResetReason

pub enum ResetReason {
    Normal,
    Updater,
    UpdaterBadFlag,
    UpdaterPin,
    Watchdog,
    Lockup,
    Brownout,
    Crash,
    EccError,
}

Potential reasons the controller sent the HalInitialized event.

Variants

Normal

Firmware started properly

Updater

Updater mode entered because of updater_start command

UpdaterBadFlag

Updater mode entered because of a bad BLUE flag

UpdaterPin

Updater mode entered with IRQ pin

Watchdog

Reset caused by watchdog

Lockup

Reset due to lockup

Brownout

Brownout reset

Crash

Reset caused by a crash (NMI or Hard Fault)

EccError

Reset caused by an ECC error

Trait Implementations

impl Clone for ResetReason[src]

impl Copy for ResetReason[src]

impl Debug for ResetReason[src]

impl PartialEq<ResetReason> for ResetReason[src]

impl StructuralPartialEq for ResetReason[src]

impl TryFrom<u8> for ResetReason[src]

type Error = BlueNRGError

The type returned in the event of a conversion error.

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.