Struct stm32f1xx_hal::pac::otg_fs_global::fs_gotgint::W
source · pub struct W(_);
Expand description
Register FS_GOTGINT
writer
Implementations§
source§impl W
impl W
sourcepub fn sedet(&mut self) -> BitWriterRaw<'_, u32, FS_GOTGINT_SPEC, bool, BitM, 2>
pub fn sedet(&mut self) -> BitWriterRaw<'_, u32, FS_GOTGINT_SPEC, bool, BitM, 2>
Bit 2 - Session end detected
sourcepub fn srsschg(
&mut self
) -> BitWriterRaw<'_, u32, FS_GOTGINT_SPEC, bool, BitM, 8>
pub fn srsschg(
&mut self
) -> BitWriterRaw<'_, u32, FS_GOTGINT_SPEC, bool, BitM, 8>
Bit 8 - Session request success status change
sourcepub fn hnsschg(
&mut self
) -> BitWriterRaw<'_, u32, FS_GOTGINT_SPEC, bool, BitM, 9>
pub fn hnsschg(
&mut self
) -> BitWriterRaw<'_, u32, FS_GOTGINT_SPEC, bool, BitM, 9>
Bit 9 - Host negotiation success status change
sourcepub fn hngdet(
&mut self
) -> BitWriterRaw<'_, u32, FS_GOTGINT_SPEC, bool, BitM, 17>
pub fn hngdet(
&mut self
) -> BitWriterRaw<'_, u32, FS_GOTGINT_SPEC, bool, BitM, 17>
Bit 17 - Host negotiation detected
sourcepub fn adtochg(
&mut self
) -> BitWriterRaw<'_, u32, FS_GOTGINT_SPEC, bool, BitM, 18>
pub fn adtochg(
&mut self
) -> BitWriterRaw<'_, u32, FS_GOTGINT_SPEC, bool, BitM, 18>
Bit 18 - A-device timeout change
sourcepub fn dbcdne(
&mut self
) -> BitWriterRaw<'_, u32, FS_GOTGINT_SPEC, bool, BitM, 19>
pub fn dbcdne(
&mut self
) -> BitWriterRaw<'_, u32, FS_GOTGINT_SPEC, bool, BitM, 19>
Bit 19 - Debounce done
Methods from Deref<Target = W<FS_GOTGINT_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.