Struct rp2040_pac::sysinfo::RegisterBlock
source · #[repr(C)]pub struct RegisterBlock { /* private fields */ }
Expand description
Register block
Implementations§
source§impl RegisterBlock
impl RegisterBlock
sourcepub const fn platform(&self) -> &PLATFORM
pub const fn platform(&self) -> &PLATFORM
0x04 - Platform register. Allows software to know what environment it is running in.
sourcepub const fn gitref_rp2040(&self) -> &GITREF_RP2040
pub const fn gitref_rp2040(&self) -> &GITREF_RP2040
0x40 - Git hash of the chip source. Used to identify chip version.
Auto Trait Implementations§
impl !Freeze for RegisterBlock
impl !RefUnwindSafe for RegisterBlock
impl Send for RegisterBlock
impl !Sync for RegisterBlock
impl Unpin for RegisterBlock
impl UnwindSafe for RegisterBlock
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