pub struct W(/* private fields */);
Expand description
Register DOEPINT%s
writer
Implementations§
Source§impl W
impl W
Sourcepub fn xfrc(&mut self) -> BitWriterRaw<'_, u32, DOEPINT_SPEC, bool, BitM, 0>
pub fn xfrc(&mut self) -> BitWriterRaw<'_, u32, DOEPINT_SPEC, bool, BitM, 0>
Bit 0 - Transfer completed interrupt
Sourcepub fn epdisd(&mut self) -> BitWriterRaw<'_, u32, DOEPINT_SPEC, bool, BitM, 1>
pub fn epdisd(&mut self) -> BitWriterRaw<'_, u32, DOEPINT_SPEC, bool, BitM, 1>
Bit 1 - Endpoint disabled interrupt
Sourcepub fn stup(&mut self) -> BitWriterRaw<'_, u32, DOEPINT_SPEC, bool, BitM, 3>
pub fn stup(&mut self) -> BitWriterRaw<'_, u32, DOEPINT_SPEC, bool, BitM, 3>
Bit 3 - SETUP phase done
Sourcepub fn otepdis(&mut self) -> BitWriterRaw<'_, u32, DOEPINT_SPEC, bool, BitM, 4>
pub fn otepdis(&mut self) -> BitWriterRaw<'_, u32, DOEPINT_SPEC, bool, BitM, 4>
Bit 4 - OUT token received when endpoint disabled
Sourcepub fn b2bstup(&mut self) -> BitWriterRaw<'_, u32, DOEPINT_SPEC, bool, BitM, 6>
pub fn b2bstup(&mut self) -> BitWriterRaw<'_, u32, DOEPINT_SPEC, bool, BitM, 6>
Bit 6 - Back-to-back SETUP packets received
Sourcepub fn nyet(&mut self) -> BitWriterRaw<'_, u32, DOEPINT_SPEC, bool, BitM, 14>
pub fn nyet(&mut self) -> BitWriterRaw<'_, u32, DOEPINT_SPEC, bool, BitM, 14>
Bit 14 - NYET interrupt
Methods from Deref<Target = W<DOEPINT_SPEC>>§
Sourcepub unsafe fn bits(&mut self, bits: <REG as RegisterSpec>::Ux) -> &mut W<REG>
pub unsafe fn bits(&mut self, bits: <REG as RegisterSpec>::Ux) -> &mut W<REG>
Writes raw bits to the register.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for W
impl RefUnwindSafe for W
impl Send for W
impl Sync for W
impl Unpin for W
impl UnwindSafe for W
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