Struct stm32_metapac::flash::regs::Secr
#[repr(transparent)]pub struct Secr(pub u32);
Expand description
Flash Security register
Tuple Fields§
§0: u32
Implementations§
§impl Secr
impl Secr
pub fn set_sec_size(&mut self, val: u8)
pub fn set_sec_size(&mut self, val: u8)
Securable memory area size
pub fn set_boot_lock(&mut self, val: bool)
pub fn set_boot_lock(&mut self, val: bool)
used to force boot from user area
Trait Implementations§
impl Copy for Secr
impl Eq for Secr
impl StructuralPartialEq for Secr
Auto Trait Implementations§
impl Freeze for Secr
impl RefUnwindSafe for Secr
impl Send for Secr
impl Sync for Secr
impl Unpin for Secr
impl UnwindSafe for Secr
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
)