Struct 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 wrp12r_cur(self) -> Reg<Wrp, RW>
pub const fn wrp12r_cur(self) -> Reg<Wrp, RW>
FLASH write sector group 2 protection for bank1.
pub const fn wrp12r_prg(self) -> Reg<Wrp, RW>
pub const fn wrp12r_prg(self) -> Reg<Wrp, RW>
FLASH write sector group 2 protection for bank1.
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 wrp11r_cur(self) -> Reg<Wrp, RW>
pub const fn wrp11r_cur(self) -> Reg<Wrp, RW>
FLASH write sector group protection for Bank 1
pub const fn wrp11r_prg(self) -> Reg<Wrp, RW>
pub const fn wrp11r_prg(self) -> Reg<Wrp, RW>
FLASH write sector group protection 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 wrp22r_cur(self) -> Reg<Wrp, RW>
pub const fn wrp22r_cur(self) -> Reg<Wrp, RW>
FLASH write sector group 2 protection for bank2.
pub const fn wrp22r_prg(self) -> Reg<Wrp, RW>
pub const fn wrp22r_prg(self) -> Reg<Wrp, RW>
FLASH write sector group 2 protection for bank2.
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 wrp21r_cur(self) -> Reg<Wrp, RW>
pub const fn wrp21r_cur(self) -> Reg<Wrp, RW>
FLASH write sector group protection for Bank 2
pub const fn wrp21r_prg(self) -> Reg<Wrp, RW>
pub const fn wrp21r_prg(self) -> Reg<Wrp, RW>
FLASH write sector group protection 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