Struct stm32f1xx_hal::flash::FlashWriter [−][src]
pub struct FlashWriter<'a> { /* fields omitted */ }
Implementations
Erase sector which contains start_offset
Erase the Flash Sectors from FLASH_START + start_offset
to length
Retrieve a slice of data from FLASH_START + offset
Write data to FLASH_START + offset
Enable/disable verifying that each erase or write operation completed successfuly.
When enabled, after each erase operation every address is read to make sure it contains the erase value of 0xFFFF. After each write operation, every address written is read and compared to the value that should have been written. If any address does not contain the expected value, the function will return Err. When disabled, no verification is performed, erase/write operations are assumed to have succeeded.