Struct stm32_hal2::pac::otg1_hs_device::diepmsk::W
source · pub struct W(/* private fields */);
Expand description
Register DIEPMSK
writer
Implementations§
source§impl W
impl W
sourcepub fn xfrcm(&mut self) -> BitWriterRaw<'_, u32, DIEPMSK_SPEC, bool, BitM, 0>
pub fn xfrcm(&mut self) -> BitWriterRaw<'_, u32, DIEPMSK_SPEC, bool, BitM, 0>
Bit 0 - Transfer completed interrupt mask
sourcepub fn epdm(&mut self) -> BitWriterRaw<'_, u32, DIEPMSK_SPEC, bool, BitM, 1>
pub fn epdm(&mut self) -> BitWriterRaw<'_, u32, DIEPMSK_SPEC, bool, BitM, 1>
Bit 1 - Endpoint disabled interrupt mask
sourcepub fn tom(&mut self) -> BitWriterRaw<'_, u32, DIEPMSK_SPEC, bool, BitM, 3>
pub fn tom(&mut self) -> BitWriterRaw<'_, u32, DIEPMSK_SPEC, bool, BitM, 3>
Bit 3 - Timeout condition mask (nonisochronous endpoints)
sourcepub fn ittxfemsk(
&mut self
) -> BitWriterRaw<'_, u32, DIEPMSK_SPEC, bool, BitM, 4>
pub fn ittxfemsk( &mut self ) -> BitWriterRaw<'_, u32, DIEPMSK_SPEC, bool, BitM, 4>
Bit 4 - IN token received when TxFIFO empty mask
sourcepub fn inepnmm(&mut self) -> BitWriterRaw<'_, u32, DIEPMSK_SPEC, bool, BitM, 5>
pub fn inepnmm(&mut self) -> BitWriterRaw<'_, u32, DIEPMSK_SPEC, bool, BitM, 5>
Bit 5 - IN token received with EP mismatch mask
sourcepub fn inepnem(&mut self) -> BitWriterRaw<'_, u32, DIEPMSK_SPEC, bool, BitM, 6>
pub fn inepnem(&mut self) -> BitWriterRaw<'_, u32, DIEPMSK_SPEC, bool, BitM, 6>
Bit 6 - IN endpoint NAK effective mask
sourcepub fn txfurm(&mut self) -> BitWriterRaw<'_, u32, DIEPMSK_SPEC, bool, BitM, 8>
pub fn txfurm(&mut self) -> BitWriterRaw<'_, u32, DIEPMSK_SPEC, bool, BitM, 8>
Bit 8 - FIFO underrun mask
sourcepub fn bim(&mut self) -> BitWriterRaw<'_, u32, DIEPMSK_SPEC, bool, BitM, 9>
pub fn bim(&mut self) -> BitWriterRaw<'_, u32, DIEPMSK_SPEC, bool, BitM, 9>
Bit 9 - BNA interrupt mask
Methods from Deref<Target = W<DIEPMSK_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§
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