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_optstrt(&mut self, val: bool)
pub const fn set_optstrt(&mut self, val: bool)
Options modification start
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
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 UnsafeUnpin 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