embedded_storage::nor_flash

Function check_write

Source
pub fn check_write<T: NorFlash>(
    flash: &T,
    offset: u32,
    length: usize,
) -> Result<(), NorFlashErrorKind>
Expand description

Return whether a write operation is aligned and within bounds.