Struct stm32_metapac::flash::regs::Nscr
#[repr(transparent)]pub struct Nscr(pub u32);
Expand description
Flash non-secure control register
Tuple Fields§
§0: u32
Implementations§
§impl Nscr
impl Nscr
pub fn set_nsmer1(&mut self, val: bool)
pub fn set_nsmer1(&mut self, val: bool)
NSMER1
pub fn set_nsbker(&mut self, val: bool)
pub fn set_nsbker(&mut self, val: bool)
NSBKER
pub fn set_nsmer2(&mut self, val: bool)
pub fn set_nsmer2(&mut self, val: bool)
NSMER2
pub fn set_nsstrt(&mut self, val: bool)
pub fn set_nsstrt(&mut self, val: bool)
Options modification start
pub fn set_optstrt(&mut self, val: bool)
pub fn set_optstrt(&mut self, val: bool)
Options modification start
pub fn set_nseopie(&mut self, val: bool)
pub fn set_nseopie(&mut self, val: bool)
NSEOPIE
pub fn set_nserrie(&mut self, val: bool)
pub fn set_nserrie(&mut self, val: bool)
NSERRIE
pub const fn obl_launch(&self) -> bool
pub const fn obl_launch(&self) -> bool
Force the option byte loading
pub fn set_obl_launch(&mut self, val: bool)
pub fn set_obl_launch(&mut self, val: bool)
Force the option byte loading
pub fn set_optlock(&mut self, val: bool)
pub fn set_optlock(&mut self, val: bool)
Options Lock
pub fn set_nslock(&mut self, val: bool)
pub fn set_nslock(&mut self, val: bool)
NSLOCK
Trait Implementations§
impl Copy for Nscr
impl Eq for Nscr
impl StructuralPartialEq for Nscr
Auto Trait Implementations§
impl Freeze for Nscr
impl RefUnwindSafe for Nscr
impl Send for Nscr
impl Sync for Nscr
impl Unpin for Nscr
impl UnwindSafe for Nscr
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
)