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