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.