Function esp_idf_hal::sys::esp_rom_get_reset_reason
source ยท pub unsafe extern "C" fn esp_rom_get_reset_reason(cpu_no: i32) -> u32
Expand description
@brief Get reset reason of CPU
@param cpu_no CPU number @return Reset reason code (see in soc/reset_reasons.h)