pub struct WatchdogFlash<FLASH> { /* private fields */ }Expand description
A flash implementation that wraps any flash and will feed a watchdog when touching flash.
Implementations§
Trait Implementations§
Source§impl<FLASH: ErrorType> ErrorType for WatchdogFlash<FLASH>
impl<FLASH: ErrorType> ErrorType for WatchdogFlash<FLASH>
Source§impl<FLASH: NorFlash> NorFlash for WatchdogFlash<FLASH>
impl<FLASH: NorFlash> NorFlash for WatchdogFlash<FLASH>
Source§const WRITE_SIZE: usize = FLASH::WRITE_SIZE
const WRITE_SIZE: usize = FLASH::WRITE_SIZE
The minumum number of bytes the storage peripheral can write
Source§const ERASE_SIZE: usize = FLASH::ERASE_SIZE
const ERASE_SIZE: usize = FLASH::ERASE_SIZE
The minumum number of bytes the storage peripheral can erase
Source§impl<FLASH: ReadNorFlash> ReadNorFlash for WatchdogFlash<FLASH>
impl<FLASH: ReadNorFlash> ReadNorFlash for WatchdogFlash<FLASH>
Source§const READ_SIZE: usize = FLASH::READ_SIZE
const READ_SIZE: usize = FLASH::READ_SIZE
The minumum number of bytes the storage peripheral can read
Auto Trait Implementations§
impl<FLASH> Freeze for WatchdogFlash<FLASH>where
FLASH: Freeze,
impl<FLASH> RefUnwindSafe for WatchdogFlash<FLASH>where
FLASH: RefUnwindSafe,
impl<FLASH> Send for WatchdogFlash<FLASH>where
FLASH: Send,
impl<FLASH> Sync for WatchdogFlash<FLASH>where
FLASH: Sync,
impl<FLASH> Unpin for WatchdogFlash<FLASH>where
FLASH: Unpin,
impl<FLASH> UnsafeUnpin for WatchdogFlash<FLASH>where
FLASH: UnsafeUnpin,
impl<FLASH> UnwindSafe for WatchdogFlash<FLASH>where
FLASH: 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