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, RW>
pub const fn gitref_rp2040(self) -> Reg<u32, RW>
Git hash of the chip source. Used to identify chip version.
Trait Implementations§
impl Copy for Sysinfo
impl Eq for Sysinfo
impl Send for Sysinfo
impl StructuralPartialEq for Sysinfo
impl Sync for Sysinfo
Auto Trait Implementations§
impl Freeze for Sysinfo
impl RefUnwindSafe for Sysinfo
impl Unpin for Sysinfo
impl UnwindSafe for Sysinfo
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
)