Function esp32_hal::reset::get_reset_reason
source · pub fn get_reset_reason() -> Option<SocResetReason>Expand description
Retrieves the reason for the last reset as a SocResetReason enum value.
Returns None if the reset reason cannot be determined.