Module spiflash
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.