pub struct NorMemoryAsync<NMS> { /* private fields */ }
Implementations§
Source§impl<NMS> NorMemoryAsync<NMS>
Asynchronous NOR flash memory interface from embedded_storage_async::nor_flash
.
it is a wrapper around a synchronous NOR flash memory.
Note: all operations are executed synchronously, prentending to be asynchronous.
impl<NMS> NorMemoryAsync<NMS>
Asynchronous NOR flash memory interface from embedded_storage_async::nor_flash
.
it is a wrapper around a synchronous NOR flash memory.
Note: all operations are executed synchronously, prentending to be asynchronous.
Trait Implementations§
Source§impl<NMS> ErrorType for NorMemoryAsync<NMS>where
NMS: ErrorTypeSync,
impl<NMS> ErrorType for NorMemoryAsync<NMS>where
NMS: ErrorTypeSync,
Source§impl<NMS> NorFlash for NorMemoryAsync<NMS>where
NMS: NorFlashSync,
impl<NMS> NorFlash for NorMemoryAsync<NMS>where
NMS: NorFlashSync,
Source§const WRITE_SIZE: usize = NMS::WRITE_SIZE
const WRITE_SIZE: usize = NMS::WRITE_SIZE
The minumum number of bytes the storage peripheral can write
Source§const ERASE_SIZE: usize = NMS::ERASE_SIZE
const ERASE_SIZE: usize = NMS::ERASE_SIZE
The minumum number of bytes the storage peripheral can erase
Source§impl<NMS> ReadNorFlash for NorMemoryAsync<NMS>where
NMS: ReadNorFlashSync,
impl<NMS> ReadNorFlash for NorMemoryAsync<NMS>where
NMS: ReadNorFlashSync,
Source§const READ_SIZE: usize = NMS::READ_SIZE
const READ_SIZE: usize = NMS::READ_SIZE
The minumum number of bytes the storage peripheral can read
impl<NMS> MultiwriteNorFlash for NorMemoryAsync<NMS>where
NMS: MultiwriteNorFlashSync,
Auto Trait Implementations§
impl<NMS> Freeze for NorMemoryAsync<NMS>where
NMS: Freeze,
impl<NMS> RefUnwindSafe for NorMemoryAsync<NMS>where
NMS: RefUnwindSafe,
impl<NMS> Send for NorMemoryAsync<NMS>where
NMS: Send,
impl<NMS> Sync for NorMemoryAsync<NMS>where
NMS: Sync,
impl<NMS> Unpin for NorMemoryAsync<NMS>where
NMS: Unpin,
impl<NMS> UnwindSafe for NorMemoryAsync<NMS>where
NMS: 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