pub struct MpidrEl1(/* private fields */);
Expand description
MPIDR_EL1
Implementations§
Source§impl MpidrEl1
impl MpidrEl1
Sourcepub const fn with_aff0_checked(self, value: u8) -> Result<Self, ()>
pub const fn with_aff0_checked(self, value: u8) -> Result<Self, ()>
Bits: 0..8
Sourcepub const fn with_aff1_checked(self, value: u8) -> Result<Self, ()>
pub const fn with_aff1_checked(self, value: u8) -> Result<Self, ()>
Bits: 8..16
Sourcepub const fn with_aff2_checked(self, value: u8) -> Result<Self, ()>
pub const fn with_aff2_checked(self, value: u8) -> Result<Self, ()>
Bits: 16..24
Sourcepub const fn with_mt_checked(self, value: bool) -> Result<Self, ()>
pub const fn with_mt_checked(self, value: bool) -> Result<Self, ()>
Bits: 24..25
Sourcepub const fn res0_25_29(&self) -> u8
pub const fn res0_25_29(&self) -> u8
Bits: 25..30
Sourcepub const fn with_res0_25_29_checked(self, value: u8) -> Result<Self, ()>
pub const fn with_res0_25_29_checked(self, value: u8) -> Result<Self, ()>
Bits: 25..30
Sourcepub const fn with_res0_25_29(self, value: u8) -> Self
pub const fn with_res0_25_29(self, value: u8) -> Self
Bits: 25..30
Sourcepub const fn set_res0_25_29(&mut self, value: u8)
pub const fn set_res0_25_29(&mut self, value: u8)
Bits: 25..30
Sourcepub const fn with_u_checked(self, value: bool) -> Result<Self, ()>
pub const fn with_u_checked(self, value: bool) -> Result<Self, ()>
Bits: 30..31
Sourcepub const fn with_res1_31_checked(self, value: bool) -> Result<Self, ()>
pub const fn with_res1_31_checked(self, value: bool) -> Result<Self, ()>
Bits: 31..32
Sourcepub const fn with_res1_31(self, value: bool) -> Self
pub const fn with_res1_31(self, value: bool) -> Self
Bits: 31..32
Sourcepub const fn set_res1_31(&mut self, value: bool)
pub const fn set_res1_31(&mut self, value: bool)
Bits: 31..32
Sourcepub const fn with_aff3_checked(self, value: u8) -> Result<Self, ()>
pub const fn with_aff3_checked(self, value: u8) -> Result<Self, ()>
Bits: 32..40
Sourcepub const fn res0_40_63(&self) -> u32
pub const fn res0_40_63(&self) -> u32
Bits: 40..64
Sourcepub const fn with_res0_40_63_checked(self, value: u32) -> Result<Self, ()>
pub const fn with_res0_40_63_checked(self, value: u32) -> Result<Self, ()>
Bits: 40..64
Sourcepub const fn with_res0_40_63(self, value: u32) -> Self
pub const fn with_res0_40_63(self, value: u32) -> Self
Bits: 40..64
Sourcepub const fn set_res0_40_63(&mut self, value: u32)
pub const fn set_res0_40_63(&mut self, value: u32)
Bits: 40..64
Source§impl MpidrEl1
impl MpidrEl1
pub const AFFINITY_MASK: Self
Trait Implementations§
impl Copy for MpidrEl1
Auto Trait Implementations§
impl Freeze for MpidrEl1
impl RefUnwindSafe for MpidrEl1
impl Send for MpidrEl1
impl Sync for MpidrEl1
impl Unpin for MpidrEl1
impl UnwindSafe for MpidrEl1
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