Struct stm32_metapac::flash::Flash
pub struct Flash { /* private fields */ }
Expand description
FLASH address block description
Implementations§
§impl Flash
impl Flash
pub const unsafe fn from_ptr(ptr: *mut ()) -> Self
pub const fn as_ptr(&self) -> *mut ()
pub const fn optsr2_cur(self) -> Reg<Optsr2, R>
pub const fn optsr2_cur(self) -> Reg<Optsr2, R>
FLASH option status register 2
pub const fn optsr2_prg(self) -> Reg<Optsr2, RW>
pub const fn optsr2_prg(self) -> Reg<Optsr2, RW>
FLASH option status register 2
pub const fn nsbootr_cur(self) -> Reg<Nsbootr, R>
pub const fn nsbootr_cur(self) -> Reg<Nsbootr, R>
FLASH non-secure unique boot entry register
pub const fn nsbootr_prg(self) -> Reg<Nsbootr, RW>
pub const fn nsbootr_prg(self) -> Reg<Nsbootr, RW>
FLASH non-secure unique boot entry address
pub const fn otpblr_cur(self) -> Reg<Otpblr, R>
pub const fn otpblr_cur(self) -> Reg<Otpblr, R>
FLASH non-secure OTP block lock
pub const fn otpblr_prg(self) -> Reg<Otpblr, RW>
pub const fn otpblr_prg(self) -> Reg<Otpblr, RW>
FLASH non-secure OTP block lock
pub const fn wrpsgn1r_cur(self) -> Reg<Wrp, R>
pub const fn wrpsgn1r_cur(self) -> Reg<Wrp, R>
FLASH write sector protection for Bank1
pub const fn wrpsgn1r_prg(self) -> Reg<Wrp, RW>
pub const fn wrpsgn1r_prg(self) -> Reg<Wrp, RW>
FLASH write sector protection for Bank1
pub const fn wrpsgn2r_cur(self) -> Reg<Wrp, R>
pub const fn wrpsgn2r_cur(self) -> Reg<Wrp, R>
FLASH write sector protection for Bank2
pub const fn wrpsgn2r_prg(self) -> Reg<Wrp, RW>
pub const fn wrpsgn2r_prg(self) -> Reg<Wrp, RW>
FLASH write sector protection for Bank2
Trait Implementations§
impl Copy for Flash
impl Eq for Flash
impl Send for Flash
impl StructuralPartialEq for Flash
impl Sync for Flash
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)