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