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

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

Potential reasons the controller sent the HalInitialized event.

Variants

Firmware started properly

Updater mode entered because of updater_start command

Updater mode entered because of a bad BLUE flag

Updater mode entered with IRQ pin

Reset caused by watchdog

Reset due to lockup

Brownout reset

Reset caused by a crash (NMI or Hard Fault)

Reset caused by an ECC error

Trait Implementations

impl Clone for ResetReason
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Copy for ResetReason
[src]

impl Debug for ResetReason
[src]

Formats the value using the given formatter. Read more

impl PartialEq for ResetReason
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl TryFrom<u8> for ResetReason
[src]

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

🔬 This is a nightly-only experimental API. (try_from)

Performs the conversion.

Auto Trait Implementations

impl Send for ResetReason

impl Sync for ResetReason