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 secobkkeyr(self) -> Reg<u32, RW>
pub const fn secobkkeyr(self) -> Reg<u32, RW>
FLASH secure OBK key register
pub const fn secobkcfgr(self) -> Reg<Secobkcfgr, RW>
pub const fn secobkcfgr(self) -> Reg<Secobkcfgr, RW>
FLASH secure OBK configuration register
pub const fn nsepochr_cur(self) -> Reg<Nsepochr, RW>
pub const fn nsepochr_cur(self) -> Reg<Nsepochr, RW>
FLASH non-secure EPOCH register
pub const fn secepochr_cur(self) -> Reg<Secepochr, RW>
pub const fn secepochr_cur(self) -> Reg<Secepochr, RW>
FLASH secure EPOCH register
pub const fn optsr2_cur(self) -> Reg<Optsr2, RW>
pub const fn optsr2_cur(self) -> Reg<Optsr2, RW>
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, RW>
pub const fn nsbootr_cur(self) -> Reg<Nsbootr, RW>
FLASH non-secure boot register
pub const fn nsbootr_prg(self) -> Reg<Nsbootr, RW>
pub const fn nsbootr_prg(self) -> Reg<Nsbootr, RW>
FLASH non-secure boot register
pub const fn secbootr_cur(self) -> Reg<Secbootr, RW>
pub const fn secbootr_cur(self) -> Reg<Secbootr, RW>
FLASH secure boot register
pub const fn otpblr_cur(self) -> Reg<Otpblr, RW>
pub const fn otpblr_cur(self) -> Reg<Otpblr, RW>
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 secwm1r_cur(self) -> Reg<Secwm, RW>
pub const fn secwm1r_cur(self) -> Reg<Secwm, RW>
FLASH security watermark for Bank 1
pub const fn secwm1r_prg(self) -> Reg<Secwm, RW>
pub const fn secwm1r_prg(self) -> Reg<Secwm, RW>
FLASH security watermark for Bank 1
pub const fn edata1r_cur(self) -> Reg<Edata1r, RW>
pub const fn edata1r_cur(self) -> Reg<Edata1r, RW>
FLASH data sector configuration Bank 1
pub const fn edata1r_prg(self) -> Reg<Edata1r, RW>
pub const fn edata1r_prg(self) -> Reg<Edata1r, RW>
FLASH data sector configuration Bank 1
pub const fn secwm2r_cur(self) -> Reg<Secwm, RW>
pub const fn secwm2r_cur(self) -> Reg<Secwm, RW>
FLASH security watermark for Bank 2
pub const fn secwm2r_prg(self) -> Reg<Secwm, RW>
pub const fn secwm2r_prg(self) -> Reg<Secwm, RW>
FLASH security watermark for Bank 2
pub const fn edata2r_cur(self) -> Reg<Edata2r, RW>
pub const fn edata2r_cur(self) -> Reg<Edata2r, RW>
FLASH data sectors configuration Bank 2
pub const fn edata2r_prg(self) -> Reg<Edata2r, RW>
pub const fn edata2r_prg(self) -> Reg<Edata2r, RW>
FLASH data sector configuration Bank 2
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
)