Struct stm32f1xx_hal::pac::otg_fs_pwrclk::fs_pcgcctl::W
source · pub struct W(_);
Expand description
Register FS_PCGCCTL
writer
Implementations§
source§impl W
impl W
sourcepub fn stppclk(
&mut self
) -> BitWriterRaw<'_, u32, FS_PCGCCTL_SPEC, bool, BitM, 0>
pub fn stppclk(
&mut self
) -> BitWriterRaw<'_, u32, FS_PCGCCTL_SPEC, bool, BitM, 0>
Bit 0 - Stop PHY clock
sourcepub fn gatehclk(
&mut self
) -> BitWriterRaw<'_, u32, FS_PCGCCTL_SPEC, bool, BitM, 1>
pub fn gatehclk(
&mut self
) -> BitWriterRaw<'_, u32, FS_PCGCCTL_SPEC, bool, BitM, 1>
Bit 1 - Gate HCLK
sourcepub fn physusp(
&mut self
) -> BitWriterRaw<'_, u32, FS_PCGCCTL_SPEC, bool, BitM, 4>
pub fn physusp(
&mut self
) -> BitWriterRaw<'_, u32, FS_PCGCCTL_SPEC, bool, BitM, 4>
Bit 4 - PHY Suspended
Methods from Deref<Target = W<FS_PCGCCTL_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.