pub struct FlashTimebase<F>where
F: NorFlash,{ /* private fields */ }Implementations§
Source§impl<F> FlashTimebase<F>where
F: NorFlash,
impl<F> FlashTimebase<F>where
F: NorFlash,
pub fn new(flash: F, regions: [u32; 2]) -> FlashTimebase<F>
pub fn release(self) -> F
pub fn high_water( &mut self, ) -> Result<Option<InstantMillis>, FlashTimebaseError<<F as ErrorType>::Error>>
pub fn record( &mut self, now: InstantMillis, ) -> Result<(), FlashTimebaseError<<F as ErrorType>::Error>>
Auto Trait Implementations§
impl<F> Freeze for FlashTimebase<F>where
F: Freeze,
impl<F> RefUnwindSafe for FlashTimebase<F>where
F: RefUnwindSafe,
impl<F> Send for FlashTimebase<F>where
F: Send,
impl<F> Sync for FlashTimebase<F>where
F: Sync,
impl<F> Unpin for FlashTimebase<F>where
F: Unpin,
impl<F> UnsafeUnpin for FlashTimebase<F>where
F: UnsafeUnpin,
impl<F> UnwindSafe for FlashTimebase<F>where
F: 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