Struct stm32f4xx_hal::pac::otg_hs_device::diepint::W
source · pub struct W(/* private fields */);
Expand description
Register DIEPINT%s
writer
Implementations§
source§impl W
impl W
sourcepub fn xfrc(&mut self) -> BitWriterRaw<'_, u32, DIEPINT_SPEC, bool, BitM, 0>
pub fn xfrc(&mut self) -> BitWriterRaw<'_, u32, DIEPINT_SPEC, bool, BitM, 0>
Bit 0 - Transfer completed interrupt
sourcepub fn epdisd(&mut self) -> BitWriterRaw<'_, u32, DIEPINT_SPEC, bool, BitM, 1>
pub fn epdisd(&mut self) -> BitWriterRaw<'_, u32, DIEPINT_SPEC, bool, BitM, 1>
Bit 1 - Endpoint disabled interrupt
sourcepub fn toc(&mut self) -> BitWriterRaw<'_, u32, DIEPINT_SPEC, bool, BitM, 3>
pub fn toc(&mut self) -> BitWriterRaw<'_, u32, DIEPINT_SPEC, bool, BitM, 3>
Bit 3 - Timeout condition
sourcepub fn ittxfe(&mut self) -> BitWriterRaw<'_, u32, DIEPINT_SPEC, bool, BitM, 4>
pub fn ittxfe(&mut self) -> BitWriterRaw<'_, u32, DIEPINT_SPEC, bool, BitM, 4>
Bit 4 - IN token received when TxFIFO is empty
sourcepub fn inepne(&mut self) -> BitWriterRaw<'_, u32, DIEPINT_SPEC, bool, BitM, 6>
pub fn inepne(&mut self) -> BitWriterRaw<'_, u32, DIEPINT_SPEC, bool, BitM, 6>
Bit 6 - IN endpoint NAK effective
sourcepub fn txfifoudrn(
&mut self
) -> BitWriterRaw<'_, u32, DIEPINT_SPEC, bool, BitM, 8>
pub fn txfifoudrn( &mut self ) -> BitWriterRaw<'_, u32, DIEPINT_SPEC, bool, BitM, 8>
Bit 8 - Transmit Fifo Underrun
sourcepub fn bna(&mut self) -> BitWriterRaw<'_, u32, DIEPINT_SPEC, bool, BitM, 9>
pub fn bna(&mut self) -> BitWriterRaw<'_, u32, DIEPINT_SPEC, bool, BitM, 9>
Bit 9 - Buffer not available interrupt
sourcepub fn pktdrpsts(
&mut self
) -> BitWriterRaw<'_, u32, DIEPINT_SPEC, bool, BitM, 11>
pub fn pktdrpsts( &mut self ) -> BitWriterRaw<'_, u32, DIEPINT_SPEC, bool, BitM, 11>
Bit 11 - Packet dropped status
sourcepub fn berr(&mut self) -> BitWriterRaw<'_, u32, DIEPINT_SPEC, bool, BitM, 12>
pub fn berr(&mut self) -> BitWriterRaw<'_, u32, DIEPINT_SPEC, bool, BitM, 12>
Bit 12 - Babble error interrupt
sourcepub fn nak(&mut self) -> BitWriterRaw<'_, u32, DIEPINT_SPEC, bool, BitM, 13>
pub fn nak(&mut self) -> BitWriterRaw<'_, u32, DIEPINT_SPEC, bool, BitM, 13>
Bit 13 - NAK interrupt
Methods from Deref<Target = W<DIEPINT_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