Function esp_idf_sys::esp_restart

source ·
pub unsafe extern "C" fn esp_restart() -> !
Expand description

@brief Restart PRO and APP CPUs.

This function can be called both from PRO and APP CPUs. After successful restart, CPU reset reason will be SW_CPU_RESET. Peripherals (except for Wi-Fi, BT, UART0, SPI1, and legacy timers) are not reset. This function does not return.