#[repr(transparent)]pub struct Intstat(pub u32);Expand description
Interrupt status.
Tuple Fields§
§0: u32Implementations§
Source§impl Intstat
impl Intstat
Sourcepub const fn activeint(&self) -> bool
pub const fn activeint(&self) -> bool
Summarizes whether any enabled interrupts (other than error interrupts) are pending.
Sourcepub const fn set_activeint(&mut self, val: bool)
pub const fn set_activeint(&mut self, val: bool)
Summarizes whether any enabled interrupts (other than error interrupts) are pending.
Sourcepub const fn activeerrint(&self) -> bool
pub const fn activeerrint(&self) -> bool
Summarizes whether any error interrupts are pending.
Sourcepub const fn set_activeerrint(&mut self, val: bool)
pub const fn set_activeerrint(&mut self, val: bool)
Summarizes whether any error interrupts are pending.
Trait Implementations§
impl Copy for Intstat
impl Eq for Intstat
impl StructuralPartialEq for Intstat
Auto Trait Implementations§
impl Freeze for Intstat
impl RefUnwindSafe for Intstat
impl Send for Intstat
impl Sync for Intstat
impl Unpin for Intstat
impl UnwindSafe for Intstat
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more