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> Freeze for ConcatFlash<First, Second>
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