Struct Irqmask
#[repr(transparent)]pub struct Irqmask(pub u32);Expand description
IRQMASK register.
Tuple Fields§
§0: u32Implementations§
§impl Irqmask
impl Irqmask
pub fn set_cmddonem(&mut self, val: bool)
pub fn set_cmddonem(&mut self, val: bool)
Command done mask.
pub fn set_cmdstartm(&mut self, val: bool)
pub fn set_cmdstartm(&mut self, val: bool)
Command started mask.
pub fn set_cmderrm(&mut self, val: bool)
pub fn set_cmderrm(&mut self, val: bool)
Command error mask.
pub fn set_illcmdm(&mut self, val: bool)
pub fn set_illcmdm(&mut self, val: bool)
Illegal command mask.
pub fn set_readokm(&mut self, val: bool)
pub fn set_readokm(&mut self, val: bool)
Mass read OK mask.
pub fn set_fnreadym(&mut self, val: bool)
pub fn set_fnreadym(&mut self, val: bool)
(1: mask, 0: inactive) FNREADY_MIS mask.
Trait Implementations§
impl Copy for Irqmask
impl Eq for Irqmask
impl StructuralPartialEq for Irqmask
Auto Trait Implementations§
impl Freeze for Irqmask
impl RefUnwindSafe for Irqmask
impl Send for Irqmask
impl Sync for Irqmask
impl Unpin for Irqmask
impl UnwindSafe for Irqmask
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