Struct stm32_hal2::pac::otg1_hs_device::doepint0::W
source · [−]pub struct W(_);
Expand description
Register DOEPINT0
writer
Implementations
sourceimpl W
impl W
sourcepub fn xfrc(&mut self) -> BitWriterRaw<'_, u32, DOEPINT0_SPEC, bool, BitM, 0>
pub fn xfrc(&mut self) -> BitWriterRaw<'_, u32, DOEPINT0_SPEC, bool, BitM, 0>
Bit 0 - Transfer completed interrupt
sourcepub fn epdisd(&mut self) -> BitWriterRaw<'_, u32, DOEPINT0_SPEC, bool, BitM, 1>
pub fn epdisd(&mut self) -> BitWriterRaw<'_, u32, DOEPINT0_SPEC, bool, BitM, 1>
Bit 1 - Endpoint disabled interrupt
sourcepub fn stup(&mut self) -> BitWriterRaw<'_, u32, DOEPINT0_SPEC, bool, BitM, 3>
pub fn stup(&mut self) -> BitWriterRaw<'_, u32, DOEPINT0_SPEC, bool, BitM, 3>
Bit 3 - SETUP phase done
sourcepub fn otepdis(&mut self) -> BitWriterRaw<'_, u32, DOEPINT0_SPEC, bool, BitM, 4>
pub fn otepdis(&mut self) -> BitWriterRaw<'_, u32, DOEPINT0_SPEC, bool, BitM, 4>
Bit 4 - OUT token received when endpoint disabled
sourcepub fn b2bstup(&mut self) -> BitWriterRaw<'_, u32, DOEPINT0_SPEC, bool, BitM, 6>
pub fn b2bstup(&mut self) -> BitWriterRaw<'_, u32, DOEPINT0_SPEC, bool, BitM, 6>
Bit 6 - Back-to-back SETUP packets received
sourcepub fn nyet(&mut self) -> BitWriterRaw<'_, u32, DOEPINT0_SPEC, bool, BitM, 14>
pub fn nyet(&mut self) -> BitWriterRaw<'_, u32, DOEPINT0_SPEC, bool, BitM, 14>
Bit 14 - NYET interrupt
Methods from Deref<Target = W<DOEPINT0_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
sourceimpl From<W<DOEPINT0_SPEC>> for W
impl From<W<DOEPINT0_SPEC>> for W
sourcefn from(writer: W<DOEPINT0_SPEC>) -> W
fn from(writer: W<DOEPINT0_SPEC>) -> W
Converts to this type from the input type.
Auto Trait Implementations
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more