Module spiflash

Available on crate feature unstable only.
Expand description

Definitions of ROM functions related to flash memory.

Constants§

ESP_ROM_SPIFLASH_RESULT_ERR
The operation errored
ESP_ROM_SPIFLASH_RESULT_OK
The operation succeeded
ESP_ROM_SPIFLASH_RESULT_TIMEOUT
The operation timed out

Functions§

esp_rom_spiflash_erase_sector
Erase a sector of flash. Uses SPI flash command 20H.
esp_rom_spiflash_read
Read Data from Flash via ROM code, you should Erase it yourself if need.
esp_rom_spiflash_unlock
Clear all SR bits except QE bit.
esp_rom_spiflash_write
Write Data to Flash, you should Erase it yourself if need.