[][src]Enum esp_idf_bindgen::esp_reset_reason_t

#[repr(u32)]pub enum esp_reset_reason_t {
    ESP_RST_UNKNOWN,
    ESP_RST_POWERON,
    ESP_RST_EXT,
    ESP_RST_SW,
    ESP_RST_PANIC,
    ESP_RST_INT_WDT,
    ESP_RST_TASK_WDT,
    ESP_RST_WDT,
    ESP_RST_DEEPSLEEP,
    ESP_RST_BROWNOUT,
    ESP_RST_SDIO,
}

@brief Reset reasons

Variants

ESP_RST_UNKNOWN

!< Reset reason can not be determined

ESP_RST_POWERON

!< Reset due to power-on event

ESP_RST_EXT

!< Reset by external pin (not applicable for ESP32)

ESP_RST_SW

!< Software reset via esp_restart

ESP_RST_PANIC

!< Software reset due to exception/panic

ESP_RST_INT_WDT

!< Reset (software or hardware) due to interrupt watchdog

ESP_RST_TASK_WDT

!< Reset due to task watchdog

ESP_RST_WDT

!< Reset due to other watchdogs

ESP_RST_DEEPSLEEP

!< Reset after exiting deep sleep mode

ESP_RST_BROWNOUT

!< Brownout reset (software or hardware)

ESP_RST_SDIO

!< Reset over SDIO

Trait Implementations

impl Clone for esp_reset_reason_t[src]

impl Copy for esp_reset_reason_t[src]

impl Debug for esp_reset_reason_t[src]

impl Eq for esp_reset_reason_t[src]

impl Hash for esp_reset_reason_t[src]

impl PartialEq<esp_reset_reason_t> for esp_reset_reason_t[src]

impl StructuralEq for esp_reset_reason_t[src]

impl StructuralPartialEq for esp_reset_reason_t[src]

Auto Trait Implementations

impl Send for esp_reset_reason_t

impl Sync for esp_reset_reason_t

impl Unpin for esp_reset_reason_t

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.