pub struct SharedNorFlash<'a, M, F>where
M: RawMutex,{ /* private fields */ }Expand description
A copyable view of one asynchronously serialized NOR flash device.
Each operation holds the device lock through completion. Higher-level stores may interleave operations safely when their flash regions are disjoint.
Implementations§
Trait Implementations§
Source§const WRITE_SIZE: usize = F::WRITE_SIZE
const WRITE_SIZE: usize = F::WRITE_SIZE
The minumum number of bytes the storage peripheral can write
Source§const ERASE_SIZE: usize = F::ERASE_SIZE
const ERASE_SIZE: usize = F::ERASE_SIZE
The minumum number of bytes the storage peripheral can erase
Source§const READ_SIZE: usize = F::READ_SIZE
const READ_SIZE: usize = F::READ_SIZE
The minumum number of bytes the storage peripheral can read
Auto Trait Implementations§
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