Struct tartan_arch::aarch64::interrupt::MaskRegister
source · #[repr(transparent)]pub struct MaskRegister(_);
Available on AArch64 only.
Expand description
DAIF
: Controls masking of different kinds of exceptions.
Implementations§
source§impl MaskRegister
impl MaskRegister
sourcepub fn fast_interrupts_masked(&self) -> bool
pub fn fast_interrupts_masked(&self) -> bool
F
: Mask fast (FIQ) interrupts.
sourcepub fn interrupts_masked(&self) -> bool
pub fn interrupts_masked(&self) -> bool
I
: Mask regular (IRQ) interrupts.
sourcepub fn system_error_masked(&self) -> bool
pub fn system_error_masked(&self) -> bool
A
: Mask system error (SError) exceptions.
sourcepub fn debug_masked(&self) -> bool
pub fn debug_masked(&self) -> bool
D
: Mask debugging-related exceptions (breakpoints, watchpoints, stepping)
for the current exception level.
sourcepub fn set_fast_interrupts_masked(&mut self, value: bool)
pub fn set_fast_interrupts_masked(&mut self, value: bool)
F
: Mask fast (FIQ) interrupts.
sourcepub fn with_fast_interrupts_masked(&mut self, value: bool) -> Self
pub fn with_fast_interrupts_masked(&mut self, value: bool) -> Self
F
: Mask fast (FIQ) interrupts.
sourcepub fn set_interrupts_masked(&mut self, value: bool)
pub fn set_interrupts_masked(&mut self, value: bool)
I
: Mask regular (IRQ) interrupts.
sourcepub fn with_interrupts_masked(&mut self, value: bool) -> Self
pub fn with_interrupts_masked(&mut self, value: bool) -> Self
I
: Mask regular (IRQ) interrupts.
sourcepub fn set_system_error_masked(&mut self, value: bool)
pub fn set_system_error_masked(&mut self, value: bool)
A
: Mask system error (SError) exceptions.
sourcepub fn with_system_error_masked(&mut self, value: bool) -> Self
pub fn with_system_error_masked(&mut self, value: bool) -> Self
A
: Mask system error (SError) exceptions.
sourcepub fn set_debug_masked(&mut self, value: bool)
pub fn set_debug_masked(&mut self, value: bool)
D
: Mask debugging-related exceptions (breakpoints, watchpoints, stepping)
for the current exception level.
sourcepub fn with_debug_masked(&mut self, value: bool) -> Self
pub fn with_debug_masked(&mut self, value: bool) -> Self
D
: Mask debugging-related exceptions (breakpoints, watchpoints, stepping)
for the current exception level.
Trait Implementations§
source§impl Bitfield<u64> for MaskRegister
impl Bitfield<u64> for MaskRegister
source§impl Clone for MaskRegister
impl Clone for MaskRegister
source§fn clone(&self) -> MaskRegister
fn clone(&self) -> MaskRegister
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for MaskRegister
impl Debug for MaskRegister
source§impl Default for MaskRegister
impl Default for MaskRegister
source§fn default() -> MaskRegister
fn default() -> MaskRegister
Returns the “default value” for a type. Read more
source§impl From<MaskRegister> for u64
impl From<MaskRegister> for u64
source§fn from(val: MaskRegister) -> Self
fn from(val: MaskRegister) -> Self
Converts to this type from the input type.