Struct stm32f4xx_hal::pac::otg_fs_device::doepmsk::W
source · pub struct W(/* private fields */);
Expand description
Register DOEPMSK
writer
Implementations§
source§impl 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
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§
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