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