Function esp_idf_svc::hal::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.