pub fn check_erase<T: NorFlash>(
    flash: &T,
    from: u32,
    to: u32
) -> Result<(), NorFlashErrorKind>
Expand description

Return whether an erase operation is aligned and within bounds.