esp_rom_spiflash_read_status() function
SPI Read Flash status register. We use CMD 0x05 (RDSR). Please do not call this function in SDK.
Return value
ESP_ROM_SPIFLASH_RESULT_OK : read OK. ESP_ROM_SPIFLASH_RESULT_ERR : read error. ESP_ROM_SPIFLASH_RESULT_TIMEOUT : read timeout.
![]()
esp_rom_spiflash_read_status(spi, &flash_status);
esp_rom_spiflash_read_status() is called by 3 functions and calls 2 functions:
![]()
esp_rom_spiflash_read_status()
esp_rom_spiflash_read_status() reads 3 variables:
![]()
esp_rom_spiflash_read_status()