Struct rp_pac::bootram::regs::BootlockStat
source · #[repr(transparent)]pub struct BootlockStat(pub u32);
Expand description
Bootlock status register. 1=unclaimed, 0=claimed. These locks function identically to the SIO spinlocks, but are reserved for bootrom use.
Tuple Fields§
§0: u32
Implementations§
source§impl BootlockStat
impl BootlockStat
pub const fn bootlock_stat(&self) -> u8
pub fn set_bootlock_stat(&mut self, val: u8)
Trait Implementations§
source§impl Clone for BootlockStat
impl Clone for BootlockStat
source§fn clone(&self) -> BootlockStat
fn clone(&self) -> BootlockStat
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Default for BootlockStat
impl Default for BootlockStat
source§fn default() -> BootlockStat
fn default() -> BootlockStat
Returns the “default value” for a type. Read more
source§impl PartialEq for BootlockStat
impl PartialEq for BootlockStat
impl Copy for BootlockStat
impl Eq for BootlockStat
impl StructuralPartialEq for BootlockStat
Auto Trait Implementations§
impl Freeze for BootlockStat
impl RefUnwindSafe for BootlockStat
impl Send for BootlockStat
impl Sync for BootlockStat
impl Unpin for BootlockStat
impl UnwindSafe for BootlockStat
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
)