pub struct RegisterBlock { /* private fields */ }Expand description
Register block
Implementations§
Source§impl RegisterBlock
impl RegisterBlock
Sourcepub const fn chip_id(&self) -> &Reg<CHIP_ID_SPEC>
pub const fn chip_id(&self) -> &Reg<CHIP_ID_SPEC>
0x00 - JEDEC JEP-106 compliant chip identifier.
Sourcepub const fn package_sel(&self) -> &Reg<PACKAGE_SEL_SPEC>
pub const fn package_sel(&self) -> &Reg<PACKAGE_SEL_SPEC>
0x04 -
Sourcepub const fn platform(&self) -> &Reg<PLATFORM_SPEC>
pub const fn platform(&self) -> &Reg<PLATFORM_SPEC>
0x08 - Platform register. Allows software to know what environment it is running in during pre-production development. Post-production, the PLATFORM is always ASIC, non-SIM.
Sourcepub const fn gitref_rp2350(&self) -> &Reg<GITREF_RP2350_SPEC>
pub const fn gitref_rp2350(&self) -> &Reg<GITREF_RP2350_SPEC>
0x14 - 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
Source§impl<Choices> CoproductSubsetter<CNil, HNil> for Choices
impl<Choices> CoproductSubsetter<CNil, HNil> for Choices
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more