Struct Cr
#[repr(transparent)]pub struct Cr(pub u32);Expand description
FLASH nonsecure control register.
Tuple Fields§
§0: u32Implementations§
§impl Cr
impl Cr
pub fn set_optstrt(&mut self, val: bool)
pub fn set_optstrt(&mut self, val: bool)
Option modification start.
pub const fn obl_launch(&self) -> bool
pub const fn obl_launch(&self) -> bool
Option-byte loading forced.
pub fn set_obl_launch(&mut self, val: bool)
pub fn set_obl_launch(&mut self, val: bool)
Option-byte loading forced.
pub fn set_optlock(&mut self, val: bool)
pub fn set_optlock(&mut self, val: bool)
Option lock.
Trait Implementations§
impl Copy for Cr
impl Eq for Cr
impl StructuralPartialEq for Cr
Auto Trait Implementations§
impl Freeze for Cr
impl RefUnwindSafe for Cr
impl Send for Cr
impl Sync for Cr
impl Unpin for Cr
impl UnwindSafe for Cr
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