Skip to main content

MemoryModelFeatureRegister3

Struct MemoryModelFeatureRegister3 

Source
pub struct MemoryModelFeatureRegister3(/* private fields */);
Expand description

The layout of ID_AA64MMFR3_EL1.

Implementations§

Source§

impl MemoryModelFeatureRegister3

Source

pub const RSVD1_MASK: u64

Mask of all reserved-as-1 bits.

Source

pub const RSVD0_MASK: u64

Mask of all reserved-as-0 bits.

Source

pub const DEFAULT: u64

The default value of the layout, combining all field defaults and reserved-as values.

Source

pub const SPEC_FPACC_MASK: u64

Unshifted bitmask of spec_fpacc.

Source

pub const SPEC_FPACC_SHIFT: usize = 60

Bit shift (i.e., the low bit) of spec_fpacc.

Source

pub const ADERR_MASK: u64

Unshifted bitmask of aderr.

Source

pub const ADERR_SHIFT: usize = 56

Bit shift (i.e., the low bit) of aderr.

Source

pub const SDERR_MASK: u64

Unshifted bitmask of sderr.

Source

pub const SDERR_SHIFT: usize = 52

Bit shift (i.e., the low bit) of sderr.

Source

pub const ANERR_MASK: u64

Unshifted bitmask of anerr.

Source

pub const ANERR_SHIFT: usize = 44

Bit shift (i.e., the low bit) of anerr.

Source

pub const SNERR_MASK: u64

Unshifted bitmask of snerr.

Source

pub const SNERR_SHIFT: usize = 40

Bit shift (i.e., the low bit) of snerr.

Source

pub const D128_2_MASK: u64

Unshifted bitmask of d128_2.

Source

pub const D128_2_SHIFT: usize = 36

Bit shift (i.e., the low bit) of d128_2.

Source

pub const D128_MASK: u64

Unshifted bitmask of d128.

Source

pub const D128_SHIFT: usize = 32

Bit shift (i.e., the low bit) of d128.

Source

pub const MEC_MASK: u64

Unshifted bitmask of mec.

Source

pub const MEC_SHIFT: usize = 28

Bit shift (i.e., the low bit) of mec.

Source

pub const AIE_MASK: u64

Unshifted bitmask of aie.

Source

pub const AIE_SHIFT: usize = 24

Bit shift (i.e., the low bit) of aie.

Source

pub const S2POE_MASK: u64

Unshifted bitmask of s2poe.

Source

pub const S2POE_SHIFT: usize = 20

Bit shift (i.e., the low bit) of s2poe.

Source

pub const S1POE_MASK: u64

Unshifted bitmask of s1poe.

Source

pub const S1POE_SHIFT: usize = 16

Bit shift (i.e., the low bit) of s1poe.

Source

pub const S2PIE_MASK: u64

Unshifted bitmask of s2pie.

Source

pub const S2PIE_SHIFT: usize = 12

Bit shift (i.e., the low bit) of s2pie.

Source

pub const S1PIE_MASK: u64

Unshifted bitmask of s1pie.

Source

pub const S1PIE_SHIFT: usize = 8

Bit shift (i.e., the low bit) of s1pie.

Source

pub const SCTLRX_MASK: u64

Unshifted bitmask of sctlrx.

Source

pub const SCTLRX_SHIFT: usize = 4

Bit shift (i.e., the low bit) of sctlrx.

Source

pub const TCRX_MASK: u64

Unshifted bitmask of tcrx.

Source

pub const TCRX_SHIFT: usize = 0

Bit shift (i.e., the low bit) of tcrx.

Source

pub const FIELDS: [FieldMetadata<u64>; 15]

Metadata of all named fields in the layout.

Source

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).

Source

pub const fn bits(self) -> u64

Source

pub const fn spec_fpacc(&self) -> u8

The value of MemoryModelFeatureRegister3[63:60].

Source

pub const fn set_spec_fpacc(&mut self, value: u8) -> &mut Self

Sets the value of MemoryModelFeatureRegister3[63:60].

Source

pub const fn aderr(&self) -> u8

The value of MemoryModelFeatureRegister3[59:56].

Source

pub const fn set_aderr(&mut self, value: u8) -> &mut Self

Sets the value of MemoryModelFeatureRegister3[59:56].

Source

pub const fn sderr(&self) -> u8

The value of MemoryModelFeatureRegister3[55:52].

Source

pub const fn set_sderr(&mut self, value: u8) -> &mut Self

Sets the value of MemoryModelFeatureRegister3[55:52].

Source

pub const fn anerr(&self) -> u8

The value of MemoryModelFeatureRegister3[47:44].

Source

pub const fn set_anerr(&mut self, value: u8) -> &mut Self

Sets the value of MemoryModelFeatureRegister3[47:44].

Source

pub const fn snerr(&self) -> u8

The value of MemoryModelFeatureRegister3[43:40].

Source

pub const fn set_snerr(&mut self, value: u8) -> &mut Self

Sets the value of MemoryModelFeatureRegister3[43:40].

Source

pub const fn d128_2(&self) -> u8

The value of MemoryModelFeatureRegister3[39:36].

Source

pub const fn set_d128_2(&mut self, value: u8) -> &mut Self

Sets the value of MemoryModelFeatureRegister3[39:36].

Source

pub const fn d128(&self) -> u8

The value of MemoryModelFeatureRegister3[35:32].

Source

pub const fn set_d128(&mut self, value: u8) -> &mut Self

Sets the value of MemoryModelFeatureRegister3[35:32].

Source

pub const fn mec(&self) -> u8

The value of MemoryModelFeatureRegister3[31:28].

Source

pub const fn set_mec(&mut self, value: u8) -> &mut Self

Sets the value of MemoryModelFeatureRegister3[31:28].

Source

pub const fn aie(&self) -> u8

The value of MemoryModelFeatureRegister3[27:24].

Source

pub const fn set_aie(&mut self, value: u8) -> &mut Self

Sets the value of MemoryModelFeatureRegister3[27:24].

Source

pub const fn s2poe(&self) -> u8

The value of MemoryModelFeatureRegister3[23:20].

Source

pub const fn set_s2poe(&mut self, value: u8) -> &mut Self

Sets the value of MemoryModelFeatureRegister3[23:20].

Source

pub const fn s1poe(&self) -> u8

The value of MemoryModelFeatureRegister3[19:16].

Source

pub const fn set_s1poe(&mut self, value: u8) -> &mut Self

Sets the value of MemoryModelFeatureRegister3[19:16].

Source

pub const fn s2pie(&self) -> u8

The value of MemoryModelFeatureRegister3[15:12].

Source

pub const fn set_s2pie(&mut self, value: u8) -> &mut Self

Sets the value of MemoryModelFeatureRegister3[15:12].

Source

pub const fn s1pie(&self) -> u8

The value of MemoryModelFeatureRegister3[11:8].

Source

pub const fn set_s1pie(&mut self, value: u8) -> &mut Self

Sets the value of MemoryModelFeatureRegister3[11:8].

Source

pub const fn sctlrx(&self) -> u8

The value of MemoryModelFeatureRegister3[7:4].

Source

pub const fn set_sctlrx(&mut self, value: u8) -> &mut Self

Sets the value of MemoryModelFeatureRegister3[7:4].

Source

pub const fn tcrx(&self) -> u8

The value of MemoryModelFeatureRegister3[3:0].

Source

pub const fn set_tcrx(&mut self, value: u8) -> &mut Self

Sets the value of MemoryModelFeatureRegister3[3:0].

Source§

impl MemoryModelFeatureRegister3

Source

pub fn iter(&self) -> MemoryModelFeatureRegister3Iter

Returns an iterator over (metadata, value) pairs for each field.

Trait Implementations§

Source§

impl Binary for MemoryModelFeatureRegister3

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Clone for MemoryModelFeatureRegister3

Source§

fn clone(&self) -> MemoryModelFeatureRegister3

Returns a duplicate of the value. Read more
1.0.0 (const: unstable)§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Copy for MemoryModelFeatureRegister3

Source§

impl Debug for MemoryModelFeatureRegister3

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Default for MemoryModelFeatureRegister3

Source§

fn default() -> Self

Returns an instance with the default bits set (i.e,. with a value of Self::DEFAULT.

Source§

impl Eq for MemoryModelFeatureRegister3

Source§

impl From<MemoryModelFeatureRegister3> for u64

Source§

fn from(value: MemoryModelFeatureRegister3) -> Self

Converts to this type from the input type.
Source§

impl From<u64> for MemoryModelFeatureRegister3

Source§

fn from(value: u64) -> Self

Converts to this type from the input type.
Source§

impl IntoIterator for MemoryModelFeatureRegister3

Source§

type Item = (&'static FieldMetadata<u64>, u64)

The type of the elements being iterated over.
Source§

type IntoIter = MemoryModelFeatureRegister3Iter

Which kind of iterator are we turning this into?
Source§

fn into_iter(self) -> Self::IntoIter

Creates an iterator from a value. Read more
Source§

impl<'a> IntoIterator for &'a MemoryModelFeatureRegister3

Source§

type Item = (&'static FieldMetadata<u64>, u64)

The type of the elements being iterated over.
Source§

type IntoIter = MemoryModelFeatureRegister3Iter

Which kind of iterator are we turning this into?
Source§

fn into_iter(self) -> Self::IntoIter

Creates an iterator from a value. Read more
Source§

impl LowerHex for MemoryModelFeatureRegister3

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Octal for MemoryModelFeatureRegister3

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl PartialEq for MemoryModelFeatureRegister3

Source§

fn eq(&self, other: &MemoryModelFeatureRegister3) -> bool

Equality operator ==. Read more
1.0.0 (const: unstable)§

fn ne(&self, other: &Rhs) -> bool

Inequality operator !=. Read more
Source§

impl StructuralPartialEq for MemoryModelFeatureRegister3

Source§

impl UpperHex for MemoryModelFeatureRegister3

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more

Auto Trait Implementations§

Blanket Implementations§

§

impl<T> Any for T
where T: 'static + ?Sized,

§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> Borrow<T> for T
where T: ?Sized,

§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
§

impl<T> BorrowMut<T> for T
where T: ?Sized,

§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
§

impl<T> CloneToUninit for T
where T: Clone,

§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
§

impl<T> From<T> for T

§

fn from(t: T) -> T

Returns the argument unchanged.

§

impl<T, U> Into<U> for T
where U: From<T>,

§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of [From]<T> for U chooses to do.

Source§

impl<Layout, Base> LayoutOver<Base> for Layout
where Layout: Copy + From<Base> + Into<Base>,

§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = !

The type returned in the event of a conversion error.
§

fn try_from(value: U) -> Result<T, !>

Performs the conversion.
§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.