Struct stm32f1xx_hal::pac::otg_fs_global::fs_gccfg::W
source · pub struct W(_);
Expand description
Register FS_GCCFG
writer
Implementations§
source§impl W
impl W
sourcepub fn pwrdwn(&mut self) -> BitWriterRaw<'_, u32, FS_GCCFG_SPEC, bool, BitM, 16>
pub fn pwrdwn(&mut self) -> BitWriterRaw<'_, u32, FS_GCCFG_SPEC, bool, BitM, 16>
Bit 16 - Power down
sourcepub fn vbusasen(
&mut self
) -> BitWriterRaw<'_, u32, FS_GCCFG_SPEC, bool, BitM, 18>
pub fn vbusasen(
&mut self
) -> BitWriterRaw<'_, u32, FS_GCCFG_SPEC, bool, BitM, 18>
Bit 18 - Enable the VBUS sensing device
sourcepub fn vbusbsen(
&mut self
) -> BitWriterRaw<'_, u32, FS_GCCFG_SPEC, bool, BitM, 19>
pub fn vbusbsen(
&mut self
) -> BitWriterRaw<'_, u32, FS_GCCFG_SPEC, bool, BitM, 19>
Bit 19 - Enable the VBUS sensing device
sourcepub fn sofouten(
&mut self
) -> BitWriterRaw<'_, u32, FS_GCCFG_SPEC, bool, BitM, 20>
pub fn sofouten(
&mut self
) -> BitWriterRaw<'_, u32, FS_GCCFG_SPEC, bool, BitM, 20>
Bit 20 - SOF output enable
Methods from Deref<Target = W<FS_GCCFG_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.