pub struct InterruptControllerSystemRegisterEnableRegister(/* private fields */);Expand description
The layout of ICC_SRE_EL1, ICC_SRE_EL2, and ICC_SRE_EL3.
Implementations§
Source§impl InterruptControllerSystemRegisterEnableRegister
impl InterruptControllerSystemRegisterEnableRegister
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 ENABLE_MASK: u64
pub const ENABLE_MASK: u64
Unshifted bitmask of enable.
Sourcepub const ENABLE_SHIFT: usize = 3
pub const ENABLE_SHIFT: usize = 3
Bit shift (i.e., the low bit) of enable.
Sourcepub const FIELDS: [FieldMetadata<u64>; 4]
pub const FIELDS: [FieldMetadata<u64>; 4]
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 enable(&self) -> bool
pub const fn enable(&self) -> bool
The value of InterruptControllerSystemRegisterEnableRegister3.
Sourcepub const fn set_enable(&mut self, value: bool) -> &mut Self
pub const fn set_enable(&mut self, value: bool) -> &mut Self
Sets the value of InterruptControllerSystemRegisterEnableRegister3.
Sourcepub const fn set_dib(&mut self, value: bool) -> &mut Self
pub const fn set_dib(&mut self, value: bool) -> &mut Self
Sets the value of InterruptControllerSystemRegisterEnableRegister2.
Trait Implementations§
Source§impl Binary for InterruptControllerSystemRegisterEnableRegister
impl Binary for InterruptControllerSystemRegisterEnableRegister
Source§impl Clone for InterruptControllerSystemRegisterEnableRegister
impl Clone for InterruptControllerSystemRegisterEnableRegister
Source§fn clone(&self) -> InterruptControllerSystemRegisterEnableRegister
fn clone(&self) -> InterruptControllerSystemRegisterEnableRegister
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 InterruptControllerSystemRegisterEnableRegister
Source§impl Debug for InterruptControllerSystemRegisterEnableRegister
impl Debug for InterruptControllerSystemRegisterEnableRegister
Source§impl Default for InterruptControllerSystemRegisterEnableRegister
impl Default for InterruptControllerSystemRegisterEnableRegister
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 InterruptControllerSystemRegisterEnableRegister
Source§impl From<InterruptControllerSystemRegisterEnableRegister> for u64
impl From<InterruptControllerSystemRegisterEnableRegister> for u64
Source§fn from(value: InterruptControllerSystemRegisterEnableRegister) -> Self
fn from(value: InterruptControllerSystemRegisterEnableRegister) -> Self
Converts to this type from the input type.
Source§impl From<u64> for InterruptControllerSystemRegisterEnableRegister
impl From<u64> for InterruptControllerSystemRegisterEnableRegister
Source§impl IntoIterator for InterruptControllerSystemRegisterEnableRegister
impl IntoIterator for InterruptControllerSystemRegisterEnableRegister
Source§impl<'a> IntoIterator for &'a InterruptControllerSystemRegisterEnableRegister
impl<'a> IntoIterator for &'a InterruptControllerSystemRegisterEnableRegister
Source§impl LowerHex for InterruptControllerSystemRegisterEnableRegister
impl LowerHex for InterruptControllerSystemRegisterEnableRegister
Source§impl Octal for InterruptControllerSystemRegisterEnableRegister
impl Octal for InterruptControllerSystemRegisterEnableRegister
Source§impl PartialEq for InterruptControllerSystemRegisterEnableRegister
impl PartialEq for InterruptControllerSystemRegisterEnableRegister
impl StructuralPartialEq for InterruptControllerSystemRegisterEnableRegister
Auto Trait Implementations§
impl Freeze for InterruptControllerSystemRegisterEnableRegister
impl RefUnwindSafe for InterruptControllerSystemRegisterEnableRegister
impl Send for InterruptControllerSystemRegisterEnableRegister
impl Sync for InterruptControllerSystemRegisterEnableRegister
impl Unpin for InterruptControllerSystemRegisterEnableRegister
impl UnsafeUnpin for InterruptControllerSystemRegisterEnableRegister
impl UnwindSafe for InterruptControllerSystemRegisterEnableRegister
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)