pub struct Bootram { /* private fields */ }
Expand description
Additional registers mapped adjacent to the bootram, for use by the bootrom.
Implementations§
source§impl Bootram
impl Bootram
pub const unsafe fn from_ptr(ptr: *mut ()) -> Self
pub const fn as_ptr(&self) -> *mut ()
sourcepub const fn write_once0(self) -> Reg<u32, RW>
pub const fn write_once0(self) -> Reg<u32, RW>
This registers always ORs writes into its current contents. Once a bit is set, it can only be cleared by a reset.
sourcepub const fn write_once1(self) -> Reg<u32, RW>
pub const fn write_once1(self) -> Reg<u32, RW>
This registers always ORs writes into its current contents. Once a bit is set, it can only be cleared by a reset.
sourcepub const fn bootlock_stat(self) -> Reg<BootlockStat, RW>
pub const fn bootlock_stat(self) -> Reg<BootlockStat, RW>
Bootlock status register. 1=unclaimed, 0=claimed. These locks function identically to the SIO spinlocks, but are reserved for bootrom use.
Trait Implementations§
impl Copy for Bootram
impl Eq for Bootram
impl Send for Bootram
impl StructuralPartialEq for Bootram
impl Sync for Bootram
Auto Trait Implementations§
impl Freeze for Bootram
impl RefUnwindSafe for Bootram
impl Unpin for Bootram
impl UnwindSafe for Bootram
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
)