Struct embassy_stm32::flash::Bank1Region
source · pub struct Bank1Region<'d, MODE = Async>(pub &'static FlashRegion, _, _);
Tuple Fields§
§0: &'static FlashRegion
Implementations§
source§impl<MODE> Bank1Region<'_, MODE>
impl<MODE> Bank1Region<'_, MODE>
Trait Implementations§
source§impl<MODE> ErrorType for Bank1Region<'_, MODE>
impl<MODE> ErrorType for Bank1Region<'_, MODE>
source§impl NorFlash for Bank1Region<'_, Blocking>
impl NorFlash for Bank1Region<'_, Blocking>
source§const WRITE_SIZE: usize = 4usize
const WRITE_SIZE: usize = 4usize
The minumum number of bytes the storage peripheral can write
source§const ERASE_SIZE: usize = 1_024usize
const ERASE_SIZE: usize = 1_024usize
The minumum number of bytes the storage peripheral can erase
Auto Trait Implementations§
impl<'d, MODE> Freeze for Bank1Region<'d, MODE>
impl<'d, MODE> RefUnwindSafe for Bank1Region<'d, MODE>where
MODE: RefUnwindSafe,
impl<'d, MODE> Send for Bank1Region<'d, MODE>where
MODE: Send,
impl<'d, MODE> Sync for Bank1Region<'d, MODE>where
MODE: Sync,
impl<'d, MODE> Unpin for Bank1Region<'d, MODE>where
MODE: Unpin,
impl<'d, MODE = Async> !UnwindSafe for Bank1Region<'d, MODE>
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