Struct aarch64defs::Cpsr64
source · pub struct Cpsr64(/* private fields */);
Expand description
Aarch64 SPSR_EL2 register when in 64-bit mode. Usually called CPSR by hypervisors.
Implementations§
source§impl Cpsr64
impl Cpsr64
sourcepub const fn aa32(&self) -> bool
pub const fn aa32(&self) -> bool
Aarch32 mode. If set, this struct is the wrong one to interpret this register.
Bits: 4..5
sourcepub const fn with_aa32(self, value: bool) -> Self
pub const fn with_aa32(self, value: bool) -> Self
Aarch32 mode. If set, this struct is the wrong one to interpret this register.
Bits: 4..5
sourcepub fn set_aa32(&mut self, value: bool)
pub fn set_aa32(&mut self, value: bool)
Aarch32 mode. If set, this struct is the wrong one to interpret this register.
Bits: 4..5
sourcepub const fn with_btype(self, value: u8) -> Self
pub const fn with_btype(self, value: u8) -> Self
Bits: 10..12
Trait Implementations§
impl Copy for Cpsr64
Auto Trait Implementations§
impl Freeze for Cpsr64
impl RefUnwindSafe for Cpsr64
impl Send for Cpsr64
impl Sync for Cpsr64
impl Unpin for Cpsr64
impl UnwindSafe for Cpsr64
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
)