#[repr(transparent)]pub struct IntClrStatus(pub u32);Expand description
Clear interrupt status bits
Tuple Fields§
§0: u32Implementations§
Source§impl IntClrStatus
impl IntClrStatus
Sourcepub const fn fail(&self) -> bool
pub const fn fail(&self) -> bool
When a CLR_STATUS bit is written to 1, the corresponding INT_STATUS bit is cleared.
Sourcepub const fn set_fail(&mut self, val: bool)
pub const fn set_fail(&mut self, val: bool)
When a CLR_STATUS bit is written to 1, the corresponding INT_STATUS bit is cleared.
Sourcepub const fn err(&self) -> bool
pub const fn err(&self) -> bool
When a CLR_STATUS bit is written to 1, the corresponding INT_STATUS bit is cleared.
Sourcepub const fn set_err(&mut self, val: bool)
pub const fn set_err(&mut self, val: bool)
When a CLR_STATUS bit is written to 1, the corresponding INT_STATUS bit is cleared.
Sourcepub const fn done(&self) -> bool
pub const fn done(&self) -> bool
When a CLR_STATUS bit is written to 1, the corresponding INT_STATUS bit is cleared.
Sourcepub const fn set_done(&mut self, val: bool)
pub const fn set_done(&mut self, val: bool)
When a CLR_STATUS bit is written to 1, the corresponding INT_STATUS bit is cleared.
Sourcepub const fn ecc_err(&self) -> bool
pub const fn ecc_err(&self) -> bool
When a CLR_STATUS bit is written to 1, the corresponding INT_STATUS bit is cleared.
Sourcepub const fn set_ecc_err(&mut self, val: bool)
pub const fn set_ecc_err(&mut self, val: bool)
When a CLR_STATUS bit is written to 1, the corresponding INT_STATUS bit is cleared.
Trait Implementations§
Source§impl Clone for IntClrStatus
impl Clone for IntClrStatus
Source§fn clone(&self) -> IntClrStatus
fn clone(&self) -> IntClrStatus
Returns a duplicate 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 IntClrStatus
impl Debug for IntClrStatus
Source§impl Default for IntClrStatus
impl Default for IntClrStatus
Source§fn default() -> IntClrStatus
fn default() -> IntClrStatus
Returns the “default value” for a type. Read more
Source§impl PartialEq for IntClrStatus
impl PartialEq for IntClrStatus
impl Copy for IntClrStatus
impl Eq for IntClrStatus
impl StructuralPartialEq for IntClrStatus
Auto Trait Implementations§
impl Freeze for IntClrStatus
impl RefUnwindSafe for IntClrStatus
impl Send for IntClrStatus
impl Sync for IntClrStatus
impl Unpin for IntClrStatus
impl UnwindSafe for IntClrStatus
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