Struct Doepmsk
#[repr(transparent)]pub struct Doepmsk(pub u32);Expand description
Device OUT endpoint common interrupt mask register
Tuple Fields§
§0: u32Implementations§
§impl Doepmsk
impl Doepmsk
pub const fn set_ahberrm(&mut self, val: bool)
pub const fn set_ahberrm(&mut self, val: bool)
AHB error mask
pub const fn set_otepdm(&mut self, val: bool)
pub const fn set_otepdm(&mut self, val: bool)
OUT token received when endpoint disabled mask
pub const fn set_stsphsrxm(&mut self, val: bool)
pub const fn set_stsphsrxm(&mut self, val: bool)
Status phase received for control write mask
pub const fn set_b2bstupm(&mut self, val: bool)
pub const fn set_b2bstupm(&mut self, val: bool)
Back-to-back SETUP packets received mask
pub const fn outpkterrm(&self) -> bool
pub const fn outpkterrm(&self) -> bool
OUT packet error mask
pub const fn set_outpkterrm(&mut self, val: bool)
pub const fn set_outpkterrm(&mut self, val: bool)
OUT packet error mask
pub const fn set_nakmsk(&mut self, val: bool)
pub const fn set_nakmsk(&mut self, val: bool)
NAK interrupt mask
pub const fn set_nyetmsk(&mut self, val: bool)
pub const fn set_nyetmsk(&mut self, val: bool)
NYET interrupt mask
Trait Implementations§
impl Copy for Doepmsk
impl Eq for Doepmsk
impl StructuralPartialEq for Doepmsk
Auto Trait Implementations§
impl Freeze for Doepmsk
impl RefUnwindSafe for Doepmsk
impl Send for Doepmsk
impl Sync for Doepmsk
impl Unpin for Doepmsk
impl UnsafeUnpin for Doepmsk
impl UnwindSafe for Doepmsk
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