Struct Nscr
#[repr(transparent)]pub struct Nscr(pub u32);Expand description
Flash non-secure control register
Tuple Fields§
§0: u32Implementations§
§impl Nscr
impl Nscr
pub const fn set_nsmer1(&mut self, val: bool)
pub const fn set_nsmer1(&mut self, val: bool)
NSMER1
pub const fn set_nsbker(&mut self, val: bool)
pub const fn set_nsbker(&mut self, val: bool)
NSBKER
pub const fn set_nsmer2(&mut self, val: bool)
pub const fn set_nsmer2(&mut self, val: bool)
NSMER2
pub const fn set_nsstrt(&mut self, val: bool)
pub const fn set_nsstrt(&mut self, val: bool)
Options modification start
pub const fn set_optstrt(&mut self, val: bool)
pub const fn set_optstrt(&mut self, val: bool)
Options modification start
pub const fn set_nseopie(&mut self, val: bool)
pub const fn set_nseopie(&mut self, val: bool)
NSEOPIE
pub const fn set_nserrie(&mut self, val: bool)
pub const 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 const fn set_obl_launch(&mut self, val: bool)
pub const fn set_obl_launch(&mut self, val: bool)
Force the option byte loading
pub const fn set_optlock(&mut self, val: bool)
pub const fn set_optlock(&mut self, val: bool)
Options Lock
pub const fn set_nslock(&mut self, val: bool)
pub const 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