Struct stm32f1xx_hal::pac::otg_fs_device::diepint2::W
source · pub struct W(_);
Expand description
Register DIEPINT2
writer
Implementations§
source§impl W
impl W
sourcepub fn inepne(&mut self) -> BitWriterRaw<'_, u32, DIEPINT2_SPEC, bool, BitM, 6>
pub fn inepne(&mut self) -> BitWriterRaw<'_, u32, DIEPINT2_SPEC, bool, BitM, 6>
Bit 6 - INEPNE
sourcepub fn ittxfe(&mut self) -> BitWriterRaw<'_, u32, DIEPINT2_SPEC, bool, BitM, 4>
pub fn ittxfe(&mut self) -> BitWriterRaw<'_, u32, DIEPINT2_SPEC, bool, BitM, 4>
Bit 4 - ITTXFE
sourcepub fn toc(&mut self) -> BitWriterRaw<'_, u32, DIEPINT2_SPEC, bool, BitM, 3>
pub fn toc(&mut self) -> BitWriterRaw<'_, u32, DIEPINT2_SPEC, bool, BitM, 3>
Bit 3 - TOC
sourcepub fn epdisd(&mut self) -> BitWriterRaw<'_, u32, DIEPINT2_SPEC, bool, BitM, 1>
pub fn epdisd(&mut self) -> BitWriterRaw<'_, u32, DIEPINT2_SPEC, bool, BitM, 1>
Bit 1 - EPDISD
sourcepub fn xfrc(&mut self) -> BitWriterRaw<'_, u32, DIEPINT2_SPEC, bool, BitM, 0>
pub fn xfrc(&mut self) -> BitWriterRaw<'_, u32, DIEPINT2_SPEC, bool, BitM, 0>
Bit 0 - XFRC
Methods from Deref<Target = W<DIEPINT2_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.