Struct stm32_hal2::pac::otg1_hs_device::diepint0::W
source · [−]pub struct W(_);
Expand description
Register DIEPINT0
writer
Implementations
sourceimpl W
impl W
sourcepub fn xfrc(&mut self) -> BitWriterRaw<'_, u32, DIEPINT0_SPEC, bool, BitM, 0>
pub fn xfrc(&mut self) -> BitWriterRaw<'_, u32, DIEPINT0_SPEC, bool, BitM, 0>
Bit 0 - Transfer completed interrupt
sourcepub fn epdisd(&mut self) -> BitWriterRaw<'_, u32, DIEPINT0_SPEC, bool, BitM, 1>
pub fn epdisd(&mut self) -> BitWriterRaw<'_, u32, DIEPINT0_SPEC, bool, BitM, 1>
Bit 1 - Endpoint disabled interrupt
sourcepub fn toc(&mut self) -> BitWriterRaw<'_, u32, DIEPINT0_SPEC, bool, BitM, 3>
pub fn toc(&mut self) -> BitWriterRaw<'_, u32, DIEPINT0_SPEC, bool, BitM, 3>
Bit 3 - Timeout condition
sourcepub fn ittxfe(&mut self) -> BitWriterRaw<'_, u32, DIEPINT0_SPEC, bool, BitM, 4>
pub fn ittxfe(&mut self) -> BitWriterRaw<'_, u32, DIEPINT0_SPEC, bool, BitM, 4>
Bit 4 - IN token received when TxFIFO is empty
sourcepub fn inepne(&mut self) -> BitWriterRaw<'_, u32, DIEPINT0_SPEC, bool, BitM, 6>
pub fn inepne(&mut self) -> BitWriterRaw<'_, u32, DIEPINT0_SPEC, bool, BitM, 6>
Bit 6 - IN endpoint NAK effective
sourcepub fn txfifoudrn(
&mut self
) -> BitWriterRaw<'_, u32, DIEPINT0_SPEC, bool, BitM, 8>
pub fn txfifoudrn(
&mut self
) -> BitWriterRaw<'_, u32, DIEPINT0_SPEC, bool, BitM, 8>
Bit 8 - Transmit Fifo Underrun
sourcepub fn bna(&mut self) -> BitWriterRaw<'_, u32, DIEPINT0_SPEC, bool, BitM, 9>
pub fn bna(&mut self) -> BitWriterRaw<'_, u32, DIEPINT0_SPEC, bool, BitM, 9>
Bit 9 - Buffer not available interrupt
sourcepub fn pktdrpsts(
&mut self
) -> BitWriterRaw<'_, u32, DIEPINT0_SPEC, bool, BitM, 11>
pub fn pktdrpsts(
&mut self
) -> BitWriterRaw<'_, u32, DIEPINT0_SPEC, bool, BitM, 11>
Bit 11 - Packet dropped status
sourcepub fn berr(&mut self) -> BitWriterRaw<'_, u32, DIEPINT0_SPEC, bool, BitM, 12>
pub fn berr(&mut self) -> BitWriterRaw<'_, u32, DIEPINT0_SPEC, bool, BitM, 12>
Bit 12 - Babble error interrupt
sourcepub fn nak(&mut self) -> BitWriterRaw<'_, u32, DIEPINT0_SPEC, bool, BitM, 13>
pub fn nak(&mut self) -> BitWriterRaw<'_, u32, DIEPINT0_SPEC, bool, BitM, 13>
Bit 13 - NAK interrupt
Methods from Deref<Target = W<DIEPINT0_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<DIEPINT0_SPEC>> for W
impl From<W<DIEPINT0_SPEC>> for W
sourcefn from(writer: W<DIEPINT0_SPEC>) -> W
fn from(writer: W<DIEPINT0_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