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