Struct rp2040_pac::sysinfo::platform::PLATFORM_SPEC
source · pub struct PLATFORM_SPEC;
Expand description
Platform register. Allows software to know what environment it is running in.
You can read
this register and get platform::R
. See API.
Trait Implementations§
source§impl RegisterSpec for PLATFORM_SPEC
impl RegisterSpec for PLATFORM_SPEC
source§impl Resettable for PLATFORM_SPEC
impl Resettable for PLATFORM_SPEC
reset()
method sets PLATFORM to value 0
source§const RESET_VALUE: u32 = 0u32
const RESET_VALUE: u32 = 0u32
Reset value of the register.
source§fn reset_value() -> Self::Ux
fn reset_value() -> Self::Ux
Reset value of the register.
impl Readable for PLATFORM_SPEC
read()
method returns platform::R
reader structure
Auto Trait Implementations§
impl Freeze for PLATFORM_SPEC
impl RefUnwindSafe for PLATFORM_SPEC
impl Send for PLATFORM_SPEC
impl Sync for PLATFORM_SPEC
impl Unpin for PLATFORM_SPEC
impl UnwindSafe for PLATFORM_SPEC
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