Struct stm32_metapac::flash::regs::Sec1r
#[repr(transparent)]pub struct Sec1r(pub u32);
Expand description
securable area bank1 register
Tuple Fields§
§0: u32
Implementations§
§impl Sec1r
impl Sec1r
pub fn set_sec_size1(&mut self, val: u8)
pub fn set_sec_size1(&mut self, val: u8)
SEC_SIZE1
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 Sec1r
impl Eq for Sec1r
impl StructuralPartialEq for Sec1r
Auto Trait Implementations§
impl Freeze for Sec1r
impl RefUnwindSafe for Sec1r
impl Send for Sec1r
impl Sync for Sec1r
impl Unpin for Sec1r
impl UnwindSafe for Sec1r
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
)