Struct stm32_hal2::pac::otg1_hs_device::doepmsk::W
source · [−]pub struct W(_);
Expand description
Register DOEPMSK
writer
Implementations
sourceimpl W
impl W
sourcepub fn xfrcm(&mut self) -> BitWriterRaw<'_, u32, DOEPMSK_SPEC, bool, BitM, 0>
pub fn xfrcm(&mut self) -> BitWriterRaw<'_, u32, DOEPMSK_SPEC, bool, BitM, 0>
Bit 0 - Transfer completed interrupt mask
sourcepub fn epdm(&mut self) -> BitWriterRaw<'_, u32, DOEPMSK_SPEC, bool, BitM, 1>
pub fn epdm(&mut self) -> BitWriterRaw<'_, u32, DOEPMSK_SPEC, bool, BitM, 1>
Bit 1 - Endpoint disabled interrupt mask
sourcepub fn stupm(&mut self) -> BitWriterRaw<'_, u32, DOEPMSK_SPEC, bool, BitM, 3>
pub fn stupm(&mut self) -> BitWriterRaw<'_, u32, DOEPMSK_SPEC, bool, BitM, 3>
Bit 3 - SETUP phase done mask
sourcepub fn otepdm(&mut self) -> BitWriterRaw<'_, u32, DOEPMSK_SPEC, bool, BitM, 4>
pub fn otepdm(&mut self) -> BitWriterRaw<'_, u32, DOEPMSK_SPEC, bool, BitM, 4>
Bit 4 - OUT token received when endpoint disabled mask
sourcepub fn b2bstup(&mut self) -> BitWriterRaw<'_, u32, DOEPMSK_SPEC, bool, BitM, 6>
pub fn b2bstup(&mut self) -> BitWriterRaw<'_, u32, DOEPMSK_SPEC, bool, BitM, 6>
Bit 6 - Back-to-back SETUP packets received mask
sourcepub fn opem(&mut self) -> BitWriterRaw<'_, u32, DOEPMSK_SPEC, bool, BitM, 8>
pub fn opem(&mut self) -> BitWriterRaw<'_, u32, DOEPMSK_SPEC, bool, BitM, 8>
Bit 8 - OUT packet error mask
sourcepub fn boim(&mut self) -> BitWriterRaw<'_, u32, DOEPMSK_SPEC, bool, BitM, 9>
pub fn boim(&mut self) -> BitWriterRaw<'_, u32, DOEPMSK_SPEC, bool, BitM, 9>
Bit 9 - BNA interrupt mask
Methods from Deref<Target = W<DOEPMSK_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<DOEPMSK_SPEC>> for W
impl From<W<DOEPMSK_SPEC>> for W
sourcefn from(writer: W<DOEPMSK_SPEC>) -> W
fn from(writer: W<DOEPMSK_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