Function esp_idf_sys::esp_rom_get_reset_reason

source ยท
pub unsafe extern "C" fn esp_rom_get_reset_reason(
    cpu_no: c_int,
) -> soc_reset_reason_t
Expand description

@brief Get reset reason of CPU

@param cpu_no CPU number @return Reset reason code (see in soc/reset_reasons.h)