pub struct SystemControlRegister2El1(/* private fields */);Expand description
The layout of SCTLR2_EL1.
Implementations§
Source§impl SystemControlRegister2El1
impl SystemControlRegister2El1
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 ENIDCP128_MASK: u64
pub const ENIDCP128_MASK: u64
Unshifted bitmask of enidcp128.
Sourcepub const ENIDCP128_SHIFT: usize = 6
pub const ENIDCP128_SHIFT: usize = 6
Bit shift (i.e., the low bit) of enidcp128.
Sourcepub const EASE_SHIFT: usize = 5
pub const EASE_SHIFT: usize = 5
Bit shift (i.e., the low bit) of ease.
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 NMEA_SHIFT: usize = 2
pub const NMEA_SHIFT: usize = 2
Bit shift (i.e., the low bit) of nmea.
Sourcepub const FIELDS: [FieldMetadata<u64>; 5]
pub const FIELDS: [FieldMetadata<u64>; 5]
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_enidcp128(&mut self, value: bool) -> &mut Self
pub const fn set_enidcp128(&mut self, value: bool) -> &mut Self
Sets the value of SystemControlRegister2El16.
Sourcepub const fn set_ease(&mut self, value: bool) -> &mut Self
pub const fn set_ease(&mut self, value: bool) -> &mut Self
Sets the value of SystemControlRegister2El15.
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 SystemControlRegister2El14.
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 SystemControlRegister2El13.
Trait Implementations§
Source§impl Binary for SystemControlRegister2El1
impl Binary for SystemControlRegister2El1
Source§impl Clone for SystemControlRegister2El1
impl Clone for SystemControlRegister2El1
Source§fn clone(&self) -> SystemControlRegister2El1
fn clone(&self) -> SystemControlRegister2El1
1.0.0 (const: unstable)§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreimpl Copy for SystemControlRegister2El1
Source§impl Debug for SystemControlRegister2El1
impl Debug for SystemControlRegister2El1
Source§impl Default for SystemControlRegister2El1
impl Default for SystemControlRegister2El1
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 SystemControlRegister2El1
Source§impl From<SystemControlRegister2El1> for u64
impl From<SystemControlRegister2El1> for u64
Source§fn from(value: SystemControlRegister2El1) -> Self
fn from(value: SystemControlRegister2El1) -> Self
Source§impl From<u64> for SystemControlRegister2El1
impl From<u64> for SystemControlRegister2El1
Source§impl IntoIterator for SystemControlRegister2El1
impl IntoIterator for SystemControlRegister2El1
Source§impl<'a> IntoIterator for &'a SystemControlRegister2El1
impl<'a> IntoIterator for &'a SystemControlRegister2El1
Source§impl LowerHex for SystemControlRegister2El1
impl LowerHex for SystemControlRegister2El1
Source§impl Octal for SystemControlRegister2El1
impl Octal for SystemControlRegister2El1
Source§impl PartialEq for SystemControlRegister2El1
impl PartialEq for SystemControlRegister2El1
impl StructuralPartialEq for SystemControlRegister2El1
Auto Trait Implementations§
impl Freeze for SystemControlRegister2El1
impl RefUnwindSafe for SystemControlRegister2El1
impl Send for SystemControlRegister2El1
impl Sync for SystemControlRegister2El1
impl Unpin for SystemControlRegister2El1
impl UnsafeUnpin for SystemControlRegister2El1
impl UnwindSafe for SystemControlRegister2El1
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)