Struct rp_pac::otp::regs::ArchselStatus
source · #[repr(transparent)]pub struct ArchselStatus(pub u32);
Expand description
Get the current architecture select state of each core. Cores sample the current value of the ARCHSEL register when their warm reset is released, at which point the corresponding bit in this register will also update.
Tuple Fields§
§0: u32
Implementations§
source§impl ArchselStatus
impl ArchselStatus
sourcepub const fn core0(&self) -> ArchselStatusCore0
pub const fn core0(&self) -> ArchselStatusCore0
Current architecture for core 0. Updated on processor warm reset.
sourcepub fn set_core0(&mut self, val: ArchselStatusCore0)
pub fn set_core0(&mut self, val: ArchselStatusCore0)
Current architecture for core 0. Updated on processor warm reset.
sourcepub const fn core1(&self) -> ArchselStatusCore1
pub const fn core1(&self) -> ArchselStatusCore1
Current architecture for core 0. Updated on processor warm reset.
sourcepub fn set_core1(&mut self, val: ArchselStatusCore1)
pub fn set_core1(&mut self, val: ArchselStatusCore1)
Current architecture for core 0. Updated on processor warm reset.
Trait Implementations§
source§impl Clone for ArchselStatus
impl Clone for ArchselStatus
source§fn clone(&self) -> ArchselStatus
fn clone(&self) -> ArchselStatus
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Default for ArchselStatus
impl Default for ArchselStatus
source§fn default() -> ArchselStatus
fn default() -> ArchselStatus
Returns the “default value” for a type. Read more
source§impl PartialEq for ArchselStatus
impl PartialEq for ArchselStatus
impl Copy for ArchselStatus
impl Eq for ArchselStatus
impl StructuralPartialEq for ArchselStatus
Auto Trait Implementations§
impl Freeze for ArchselStatus
impl RefUnwindSafe for ArchselStatus
impl Send for ArchselStatus
impl Sync for ArchselStatus
impl Unpin for ArchselStatus
impl UnwindSafe for ArchselStatus
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
)