#[repr(transparent)]pub struct Bootconf(pub u32);Expand description
Immutable boot region configuration.
Tuple Fields§
§0: u32Implementations§
Source§impl Bootconf
impl Bootconf
Sourcepub const fn read(&self) -> bool
pub const fn read(&self) -> bool
Read access. Must be enabled in order for the Arm Cortex CPU to start executing from RRAM.
Sourcepub const fn set_read(&mut self, val: bool)
pub const fn set_read(&mut self, val: bool)
Read access. Must be enabled in order for the Arm Cortex CPU to start executing from RRAM.
Sourcepub const fn set_execute(&mut self, val: bool)
pub const fn set_execute(&mut self, val: bool)
Execute access
Sourcepub const fn set_secure(&mut self, val: bool)
pub const fn set_secure(&mut self, val: bool)
Secure access
Sourcepub const fn set_writeonce(&mut self, val: bool)
pub const fn set_writeonce(&mut self, val: bool)
Write-once
Trait Implementations§
impl Copy for Bootconf
impl Eq for Bootconf
impl StructuralPartialEq for Bootconf
Auto Trait Implementations§
impl Freeze for Bootconf
impl RefUnwindSafe for Bootconf
impl Send for Bootconf
impl Sync for Bootconf
impl Unpin for Bootconf
impl UnwindSafe for Bootconf
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)