Struct embassy_embedded_hal::flash::ConcatFlash
source · pub struct ConcatFlash<First, Second>(/* private fields */);
Expand description
Convenience helper for concatenating two consecutive flashes into one. This is especially useful if used with “flash regions”, where one may want to concatenate multiple regions into one larger region.
Implementations§
source§impl<First, Second> ConcatFlash<First, Second>
impl<First, Second> ConcatFlash<First, Second>
Trait Implementations§
source§impl<First, Second, E> ErrorType for ConcatFlash<First, Second>
impl<First, Second, E> ErrorType for ConcatFlash<First, Second>
source§impl<First, Second, E> NorFlash for ConcatFlash<First, Second>
impl<First, Second, E> NorFlash for ConcatFlash<First, Second>
source§const WRITE_SIZE: usize = _
const WRITE_SIZE: usize = _
The minumum number of bytes the storage peripheral can write
source§const ERASE_SIZE: usize = _
const ERASE_SIZE: usize = _
The minumum number of bytes the storage peripheral can erase
source§impl<First, Second, E> NorFlash for ConcatFlash<First, Second>
impl<First, Second, E> NorFlash for ConcatFlash<First, Second>
source§const WRITE_SIZE: usize = _
const WRITE_SIZE: usize = _
The minumum number of bytes the storage peripheral can write
source§const ERASE_SIZE: usize = _
const ERASE_SIZE: usize = _
The minumum number of bytes the storage peripheral can erase
source§impl<First, Second, E> ReadNorFlash for ConcatFlash<First, Second>
impl<First, Second, E> ReadNorFlash for ConcatFlash<First, Second>
Auto Trait Implementations§
impl<First, Second> RefUnwindSafe for ConcatFlash<First, Second>where
First: RefUnwindSafe,
Second: RefUnwindSafe,
impl<First, Second> Send for ConcatFlash<First, Second>
impl<First, Second> Sync for ConcatFlash<First, Second>
impl<First, Second> Unpin for ConcatFlash<First, Second>
impl<First, Second> UnwindSafe for ConcatFlash<First, Second>where
First: UnwindSafe,
Second: UnwindSafe,
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more