esp_rom_spiflash_wait_idle() function
Wait until SPI flash write operation is complete Reads the Write In Progress bit of the SPI flash status register, repeats until this bit is zero (indicating write complete).
Return value
ESP_ROM_SPIFLASH_RESULT_OK : Write is complete ESP_ROM_SPIFLASH_RESULT_ERR : Error while reading status.
Notes
Please do not call this function in SDK.
esp_rom_spiflash_wait_idle() is called by 14 functions and calls 2 functions:
![]()
esp_rom_spiflash_wait_idle()
esp_rom_spiflash_wait_idle() reads 2 variables:
![]()
esp_rom_spiflash_wait_idle()