pub struct SystemControlRegister2El3(/* private fields */);Expand description
The layout of SCTLR2_EL3.
Implementations§
Source§impl SystemControlRegister2El3
impl SystemControlRegister2El3
Sourcepub const RSVD1_MASK: u64
pub const RSVD1_MASK: u64
Mask of all reserved-as-1 bits.
Sourcepub const RSVD0_MASK: u64
pub const RSVD0_MASK: u64
Mask of all reserved-as-0 bits.
Sourcepub const DEFAULT: u64
pub const DEFAULT: u64
The default value of the layout, combining all field defaults and reserved-as values.
Sourcepub const ENANERR_MASK: u64
pub const ENANERR_MASK: u64
Unshifted bitmask of enanerr.
Sourcepub const ENANERR_SHIFT: usize = 4
pub const ENANERR_SHIFT: usize = 4
Bit shift (i.e., the low bit) of enanerr.
Sourcepub const ENADERR_MASK: u64
pub const ENADERR_MASK: u64
Unshifted bitmask of enaderr.
Sourcepub const ENADERR_SHIFT: usize = 3
pub const ENADERR_SHIFT: usize = 3
Bit shift (i.e., the low bit) of enaderr.
Sourcepub const EMEC_SHIFT: usize = 1
pub const EMEC_SHIFT: usize = 1
Bit shift (i.e., the low bit) of emec.
Sourcepub const FIELDS: [FieldMetadata<u64>; 3]
pub const FIELDS: [FieldMetadata<u64>; 3]
Metadata of all named fields in the layout.
Sourcepub const fn new() -> Self
pub const fn new() -> Self
Creates a new instance with reserved-as-1 bits set and
all other bits zeroed (i.e., with a value of
Self::RSVD1_MASK).
pub const fn bits(self) -> u64
Sourcepub const fn set_enanerr(&mut self, value: bool) -> &mut Self
pub const fn set_enanerr(&mut self, value: bool) -> &mut Self
Sets the value of SystemControlRegister2El34.
Sourcepub const fn set_enaderr(&mut self, value: bool) -> &mut Self
pub const fn set_enaderr(&mut self, value: bool) -> &mut Self
Sets the value of SystemControlRegister2El33.
Trait Implementations§
Source§impl Binary for SystemControlRegister2El3
impl Binary for SystemControlRegister2El3
Source§impl Clone for SystemControlRegister2El3
impl Clone for SystemControlRegister2El3
Source§fn clone(&self) -> SystemControlRegister2El3
fn clone(&self) -> SystemControlRegister2El3
Returns a duplicate of the value. Read more
1.0.0 (const: unstable)§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for SystemControlRegister2El3
Source§impl Debug for SystemControlRegister2El3
impl Debug for SystemControlRegister2El3
Source§impl Default for SystemControlRegister2El3
impl Default for SystemControlRegister2El3
Source§fn default() -> Self
fn default() -> Self
Returns an instance with the default bits set (i.e,. with a
value of Self::DEFAULT.
impl Eq for SystemControlRegister2El3
Source§impl From<SystemControlRegister2El3> for u64
impl From<SystemControlRegister2El3> for u64
Source§fn from(value: SystemControlRegister2El3) -> Self
fn from(value: SystemControlRegister2El3) -> Self
Converts to this type from the input type.
Source§impl From<u64> for SystemControlRegister2El3
impl From<u64> for SystemControlRegister2El3
Source§impl IntoIterator for SystemControlRegister2El3
impl IntoIterator for SystemControlRegister2El3
Source§impl<'a> IntoIterator for &'a SystemControlRegister2El3
impl<'a> IntoIterator for &'a SystemControlRegister2El3
Source§impl LowerHex for SystemControlRegister2El3
impl LowerHex for SystemControlRegister2El3
Source§impl Octal for SystemControlRegister2El3
impl Octal for SystemControlRegister2El3
Source§impl PartialEq for SystemControlRegister2El3
impl PartialEq for SystemControlRegister2El3
impl StructuralPartialEq for SystemControlRegister2El3
Auto Trait Implementations§
impl Freeze for SystemControlRegister2El3
impl RefUnwindSafe for SystemControlRegister2El3
impl Send for SystemControlRegister2El3
impl Sync for SystemControlRegister2El3
impl Unpin for SystemControlRegister2El3
impl UnsafeUnpin for SystemControlRegister2El3
impl UnwindSafe for SystemControlRegister2El3
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)