Struct stm32_metapac::flash::regs::Secbootr
#[repr(transparent)]pub struct Secbootr(pub u32);
Expand description
FLASH secure boot register
Tuple Fields§
§0: u32
Implementations§
§impl Secbootr
impl Secbootr
pub const fn secboot_lock(&self) -> SecbootrSecbootLock
pub const fn secboot_lock(&self) -> SecbootrSecbootLock
A field locking the values of UBE, SWAP_BANK, and SECBOOTADD settings.
pub fn set_secboot_lock(&mut self, val: SecbootrSecbootLock)
pub fn set_secboot_lock(&mut self, val: SecbootrSecbootLock)
A field locking the values of UBE, SWAP_BANK, and SECBOOTADD settings.
pub const fn secbootadd(&self) -> u32
pub const fn secbootadd(&self) -> u32
Unique boot entry secure address These bits reflect the Secure UBE address
pub fn set_secbootadd(&mut self, val: u32)
pub fn set_secbootadd(&mut self, val: u32)
Unique boot entry secure address These bits reflect the Secure UBE address
Trait Implementations§
impl Copy for Secbootr
impl Eq for Secbootr
impl StructuralPartialEq for Secbootr
Auto Trait Implementations§
impl Freeze for Secbootr
impl RefUnwindSafe for Secbootr
impl Send for Secbootr
impl Sync for Secbootr
impl Unpin for Secbootr
impl UnwindSafe for Secbootr
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
)