Struct daisy::pac::otg1_hs_device::diepint5::W
pub struct W(/* private fields */);
Expand description
Register DIEPINT5
writer
Implementations§
§impl W
impl W
pub fn xfrc(&mut self) -> BitWriterRaw<'_, u32, DIEPINT5_SPEC, bool, BitM, 0>
pub fn xfrc(&mut self) -> BitWriterRaw<'_, u32, DIEPINT5_SPEC, bool, BitM, 0>
Bit 0 - Transfer completed interrupt
pub fn epdisd(&mut self) -> BitWriterRaw<'_, u32, DIEPINT5_SPEC, bool, BitM, 1>
pub fn epdisd(&mut self) -> BitWriterRaw<'_, u32, DIEPINT5_SPEC, bool, BitM, 1>
Bit 1 - Endpoint disabled interrupt
pub fn toc(&mut self) -> BitWriterRaw<'_, u32, DIEPINT5_SPEC, bool, BitM, 3>
pub fn toc(&mut self) -> BitWriterRaw<'_, u32, DIEPINT5_SPEC, bool, BitM, 3>
Bit 3 - Timeout condition
pub fn ittxfe(&mut self) -> BitWriterRaw<'_, u32, DIEPINT5_SPEC, bool, BitM, 4>
pub fn ittxfe(&mut self) -> BitWriterRaw<'_, u32, DIEPINT5_SPEC, bool, BitM, 4>
Bit 4 - IN token received when TxFIFO is empty
pub fn inepne(&mut self) -> BitWriterRaw<'_, u32, DIEPINT5_SPEC, bool, BitM, 6>
pub fn inepne(&mut self) -> BitWriterRaw<'_, u32, DIEPINT5_SPEC, bool, BitM, 6>
Bit 6 - IN endpoint NAK effective
pub fn txfifoudrn(
&mut self
) -> BitWriterRaw<'_, u32, DIEPINT5_SPEC, bool, BitM, 8>
pub fn txfifoudrn( &mut self ) -> BitWriterRaw<'_, u32, DIEPINT5_SPEC, bool, BitM, 8>
Bit 8 - Transmit Fifo Underrun
pub fn bna(&mut self) -> BitWriterRaw<'_, u32, DIEPINT5_SPEC, bool, BitM, 9>
pub fn bna(&mut self) -> BitWriterRaw<'_, u32, DIEPINT5_SPEC, bool, BitM, 9>
Bit 9 - Buffer not available interrupt
pub fn pktdrpsts(
&mut self
) -> BitWriterRaw<'_, u32, DIEPINT5_SPEC, bool, BitM, 11>
pub fn pktdrpsts( &mut self ) -> BitWriterRaw<'_, u32, DIEPINT5_SPEC, bool, BitM, 11>
Bit 11 - Packet dropped status
pub fn berr(&mut self) -> BitWriterRaw<'_, u32, DIEPINT5_SPEC, bool, BitM, 12>
pub fn berr(&mut self) -> BitWriterRaw<'_, u32, DIEPINT5_SPEC, bool, BitM, 12>
Bit 12 - Babble error interrupt
pub fn nak(&mut self) -> BitWriterRaw<'_, u32, DIEPINT5_SPEC, bool, BitM, 13>
pub fn nak(&mut self) -> BitWriterRaw<'_, u32, DIEPINT5_SPEC, bool, BitM, 13>
Bit 13 - NAK interrupt
Methods from Deref<Target = W<DIEPINT5_SPEC>>§
pub 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§
§impl From<W<DIEPINT5_SPEC>> for W
impl From<W<DIEPINT5_SPEC>> for W
§fn from(writer: W<DIEPINT5_SPEC>) -> W
fn from(writer: W<DIEPINT5_SPEC>) -> W
Converts to this type from the input type.
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