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.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.