pub struct MemoryModelFeatureRegister3(/* private fields */);Expand description
The layout of ID_AA64MMFR3_EL1.
Implementations§
Source§impl MemoryModelFeatureRegister3
impl MemoryModelFeatureRegister3
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 SPEC_FPACC_MASK: u64
pub const SPEC_FPACC_MASK: u64
Unshifted bitmask of spec_fpacc.
Sourcepub const SPEC_FPACC_SHIFT: usize = 60
pub const SPEC_FPACC_SHIFT: usize = 60
Bit shift (i.e., the low bit) of spec_fpacc.
Sourcepub const ADERR_MASK: u64
pub const ADERR_MASK: u64
Unshifted bitmask of aderr.
Sourcepub const ADERR_SHIFT: usize = 56
pub const ADERR_SHIFT: usize = 56
Bit shift (i.e., the low bit) of aderr.
Sourcepub const SDERR_MASK: u64
pub const SDERR_MASK: u64
Unshifted bitmask of sderr.
Sourcepub const SDERR_SHIFT: usize = 52
pub const SDERR_SHIFT: usize = 52
Bit shift (i.e., the low bit) of sderr.
Sourcepub const ANERR_MASK: u64
pub const ANERR_MASK: u64
Unshifted bitmask of anerr.
Sourcepub const ANERR_SHIFT: usize = 44
pub const ANERR_SHIFT: usize = 44
Bit shift (i.e., the low bit) of anerr.
Sourcepub const SNERR_MASK: u64
pub const SNERR_MASK: u64
Unshifted bitmask of snerr.
Sourcepub const SNERR_SHIFT: usize = 40
pub const SNERR_SHIFT: usize = 40
Bit shift (i.e., the low bit) of snerr.
Sourcepub const D128_2_MASK: u64
pub const D128_2_MASK: u64
Unshifted bitmask of d128_2.
Sourcepub const D128_2_SHIFT: usize = 36
pub const D128_2_SHIFT: usize = 36
Bit shift (i.e., the low bit) of d128_2.
Sourcepub const D128_SHIFT: usize = 32
pub const D128_SHIFT: usize = 32
Bit shift (i.e., the low bit) of d128.
Sourcepub const S2POE_MASK: u64
pub const S2POE_MASK: u64
Unshifted bitmask of s2poe.
Sourcepub const S2POE_SHIFT: usize = 20
pub const S2POE_SHIFT: usize = 20
Bit shift (i.e., the low bit) of s2poe.
Sourcepub const S1POE_MASK: u64
pub const S1POE_MASK: u64
Unshifted bitmask of s1poe.
Sourcepub const S1POE_SHIFT: usize = 16
pub const S1POE_SHIFT: usize = 16
Bit shift (i.e., the low bit) of s1poe.
Sourcepub const S2PIE_MASK: u64
pub const S2PIE_MASK: u64
Unshifted bitmask of s2pie.
Sourcepub const S2PIE_SHIFT: usize = 12
pub const S2PIE_SHIFT: usize = 12
Bit shift (i.e., the low bit) of s2pie.
Sourcepub const S1PIE_MASK: u64
pub const S1PIE_MASK: u64
Unshifted bitmask of s1pie.
Sourcepub const S1PIE_SHIFT: usize = 8
pub const S1PIE_SHIFT: usize = 8
Bit shift (i.e., the low bit) of s1pie.
Sourcepub const SCTLRX_MASK: u64
pub const SCTLRX_MASK: u64
Unshifted bitmask of sctlrx.
Sourcepub const SCTLRX_SHIFT: usize = 4
pub const SCTLRX_SHIFT: usize = 4
Bit shift (i.e., the low bit) of sctlrx.
Sourcepub const TCRX_SHIFT: usize = 0
pub const TCRX_SHIFT: usize = 0
Bit shift (i.e., the low bit) of tcrx.
Sourcepub const FIELDS: [FieldMetadata<u64>; 15]
pub const FIELDS: [FieldMetadata<u64>; 15]
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 spec_fpacc(&self) -> u8
pub const fn spec_fpacc(&self) -> u8
The value of MemoryModelFeatureRegister3[63:60].
Sourcepub const fn set_spec_fpacc(&mut self, value: u8) -> &mut Self
pub const fn set_spec_fpacc(&mut self, value: u8) -> &mut Self
Sets the value of MemoryModelFeatureRegister3[63:60].
Sourcepub const fn set_aderr(&mut self, value: u8) -> &mut Self
pub const fn set_aderr(&mut self, value: u8) -> &mut Self
Sets the value of MemoryModelFeatureRegister3[59:56].
Sourcepub const fn set_sderr(&mut self, value: u8) -> &mut Self
pub const fn set_sderr(&mut self, value: u8) -> &mut Self
Sets the value of MemoryModelFeatureRegister3[55:52].
Sourcepub const fn set_anerr(&mut self, value: u8) -> &mut Self
pub const fn set_anerr(&mut self, value: u8) -> &mut Self
Sets the value of MemoryModelFeatureRegister3[47:44].
Sourcepub const fn set_snerr(&mut self, value: u8) -> &mut Self
pub const fn set_snerr(&mut self, value: u8) -> &mut Self
Sets the value of MemoryModelFeatureRegister3[43:40].
Sourcepub const fn set_d128_2(&mut self, value: u8) -> &mut Self
pub const fn set_d128_2(&mut self, value: u8) -> &mut Self
Sets the value of MemoryModelFeatureRegister3[39:36].
Sourcepub const fn set_d128(&mut self, value: u8) -> &mut Self
pub const fn set_d128(&mut self, value: u8) -> &mut Self
Sets the value of MemoryModelFeatureRegister3[35:32].
Sourcepub const fn set_mec(&mut self, value: u8) -> &mut Self
pub const fn set_mec(&mut self, value: u8) -> &mut Self
Sets the value of MemoryModelFeatureRegister3[31:28].
Sourcepub const fn set_aie(&mut self, value: u8) -> &mut Self
pub const fn set_aie(&mut self, value: u8) -> &mut Self
Sets the value of MemoryModelFeatureRegister3[27:24].
Sourcepub const fn set_s2poe(&mut self, value: u8) -> &mut Self
pub const fn set_s2poe(&mut self, value: u8) -> &mut Self
Sets the value of MemoryModelFeatureRegister3[23:20].
Sourcepub const fn set_s1poe(&mut self, value: u8) -> &mut Self
pub const fn set_s1poe(&mut self, value: u8) -> &mut Self
Sets the value of MemoryModelFeatureRegister3[19:16].
Sourcepub const fn set_s2pie(&mut self, value: u8) -> &mut Self
pub const fn set_s2pie(&mut self, value: u8) -> &mut Self
Sets the value of MemoryModelFeatureRegister3[15:12].
Sourcepub const fn set_s1pie(&mut self, value: u8) -> &mut Self
pub const fn set_s1pie(&mut self, value: u8) -> &mut Self
Sets the value of MemoryModelFeatureRegister3[11:8].
Sourcepub const fn set_sctlrx(&mut self, value: u8) -> &mut Self
pub const fn set_sctlrx(&mut self, value: u8) -> &mut Self
Sets the value of MemoryModelFeatureRegister3[7:4].
Trait Implementations§
Source§impl Binary for MemoryModelFeatureRegister3
impl Binary for MemoryModelFeatureRegister3
Source§impl Clone for MemoryModelFeatureRegister3
impl Clone for MemoryModelFeatureRegister3
Source§fn clone(&self) -> MemoryModelFeatureRegister3
fn clone(&self) -> MemoryModelFeatureRegister3
1.0.0 (const: unstable)§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreimpl Copy for MemoryModelFeatureRegister3
Source§impl Debug for MemoryModelFeatureRegister3
impl Debug for MemoryModelFeatureRegister3
Source§impl Default for MemoryModelFeatureRegister3
impl Default for MemoryModelFeatureRegister3
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 MemoryModelFeatureRegister3
Source§impl From<MemoryModelFeatureRegister3> for u64
impl From<MemoryModelFeatureRegister3> for u64
Source§fn from(value: MemoryModelFeatureRegister3) -> Self
fn from(value: MemoryModelFeatureRegister3) -> Self
Source§impl From<u64> for MemoryModelFeatureRegister3
impl From<u64> for MemoryModelFeatureRegister3
Source§impl IntoIterator for MemoryModelFeatureRegister3
impl IntoIterator for MemoryModelFeatureRegister3
Source§impl<'a> IntoIterator for &'a MemoryModelFeatureRegister3
impl<'a> IntoIterator for &'a MemoryModelFeatureRegister3
Source§impl LowerHex for MemoryModelFeatureRegister3
impl LowerHex for MemoryModelFeatureRegister3
Source§impl Octal for MemoryModelFeatureRegister3
impl Octal for MemoryModelFeatureRegister3
Source§impl PartialEq for MemoryModelFeatureRegister3
impl PartialEq for MemoryModelFeatureRegister3
impl StructuralPartialEq for MemoryModelFeatureRegister3
Auto Trait Implementations§
impl Freeze for MemoryModelFeatureRegister3
impl RefUnwindSafe for MemoryModelFeatureRegister3
impl Send for MemoryModelFeatureRegister3
impl Sync for MemoryModelFeatureRegister3
impl Unpin for MemoryModelFeatureRegister3
impl UnsafeUnpin for MemoryModelFeatureRegister3
impl UnwindSafe for MemoryModelFeatureRegister3
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
§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)
clone_to_uninit)