#[repr(transparent)]pub struct Intrstat(pub u32);Expand description
INTERRUPT STATUS register
Tuple Fields§
§0: u32Implementations§
Source§impl Intrstat
impl Intrstat
Sourcepub const fn intr_stat(&self) -> bool
pub const fn intr_stat(&self) -> bool
Intr status ( 1 bit to indicate interrupt captured, 0 means no new interrupt), write any value will clear this bit
Sourcepub const fn set_intr_stat(&mut self, val: bool)
pub const fn set_intr_stat(&mut self, val: bool)
Intr status ( 1 bit to indicate interrupt captured, 0 means no new interrupt), write any value will clear this bit
Trait Implementations§
impl Copy for Intrstat
impl Eq for Intrstat
impl StructuralPartialEq for Intrstat
Auto Trait Implementations§
impl Freeze for Intrstat
impl RefUnwindSafe for Intrstat
impl Send for Intrstat
impl Sync for Intrstat
impl Unpin for Intrstat
impl UnwindSafe for Intrstat
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