pub struct Sysinfo { /* private fields */ }
Implementations§
source§impl Sysinfo
impl Sysinfo
pub const unsafe fn from_ptr(ptr: *mut ()) -> Self
pub const fn as_ptr(&self) -> *mut ()
sourcepub const fn platform(self) -> Reg<Platform, RW>
pub const fn platform(self) -> Reg<Platform, RW>
Platform register. Allows software to know what environment it is running in.
sourcepub const fn gitref_rp2040(self) -> Reg<u32, R>
pub const fn gitref_rp2040(self) -> Reg<u32, R>
Git hash of the chip source. Used to identify chip version.
Trait Implementations§
source§impl PartialEq<Sysinfo> for Sysinfo
impl PartialEq<Sysinfo> for Sysinfo
impl Copy for Sysinfo
impl Eq for Sysinfo
impl Send for Sysinfo
impl StructuralEq for Sysinfo
impl StructuralPartialEq for Sysinfo
impl Sync for Sysinfo
Auto Trait Implementations§
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