#[repr(transparent)]pub struct Mintmasked(pub u32);Expand description
Master Interrupt Mask Register
Tuple Fields§
§0: u32Implementations§
Source§impl Mintmasked
impl Mintmasked
Sourcepub const fn set_slvstart(&mut self, val: bool)
pub const fn set_slvstart(&mut self, val: bool)
SLVSTART interrupt mask
Sourcepub const fn set_mctrldone(&mut self, val: bool)
pub const fn set_mctrldone(&mut self, val: bool)
MCTRLDONE interrupt mask
Sourcepub const fn set_complete(&mut self, val: bool)
pub const fn set_complete(&mut self, val: bool)
COMPLETE interrupt mask
Sourcepub const fn set_rxpend(&mut self, val: bool)
pub const fn set_rxpend(&mut self, val: bool)
RXPEND interrupt mask
Sourcepub const fn set_txnotfull(&mut self, val: bool)
pub const fn set_txnotfull(&mut self, val: bool)
TXNOTFULL interrupt mask
Sourcepub const fn set_ibiwon(&mut self, val: bool)
pub const fn set_ibiwon(&mut self, val: bool)
IBIWON interrupt mask
Sourcepub const fn set_errwarn(&mut self, val: bool)
pub const fn set_errwarn(&mut self, val: bool)
ERRWARN interrupt mask
Sourcepub const fn set_nowmaster(&mut self, val: bool)
pub const fn set_nowmaster(&mut self, val: bool)
NOWMASTER interrupt mask
Trait Implementations§
Source§impl Clone for Mintmasked
impl Clone for Mintmasked
Source§fn clone(&self) -> Mintmasked
fn clone(&self) -> Mintmasked
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 Mintmasked
impl Debug for Mintmasked
Source§impl Default for Mintmasked
impl Default for Mintmasked
Source§fn default() -> Mintmasked
fn default() -> Mintmasked
Returns the “default value” for a type. Read more
Source§impl PartialEq for Mintmasked
impl PartialEq for Mintmasked
impl Copy for Mintmasked
impl Eq for Mintmasked
impl StructuralPartialEq for Mintmasked
Auto Trait Implementations§
impl Freeze for Mintmasked
impl RefUnwindSafe for Mintmasked
impl Send for Mintmasked
impl Sync for Mintmasked
impl Unpin for Mintmasked
impl UnwindSafe for Mintmasked
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