Struct stm32f4xx_hal::pac::otg_fs_pwrclk::pcgcctl::W
source · [−]pub struct W(_);
Expand description
Register PCGCCTL
writer
Implementations
sourceimpl W
impl W
sourcepub fn stppclk(&mut self) -> BitWriterRaw<'_, u32, PCGCCTL_SPEC, bool, BitM, 0>
pub fn stppclk(&mut self) -> BitWriterRaw<'_, u32, PCGCCTL_SPEC, bool, BitM, 0>
Bit 0 - Stop PHY clock
sourcepub fn gatehclk(&mut self) -> BitWriterRaw<'_, u32, PCGCCTL_SPEC, bool, BitM, 1>
pub fn gatehclk(&mut self) -> BitWriterRaw<'_, u32, PCGCCTL_SPEC, bool, BitM, 1>
Bit 1 - Gate HCLK
sourcepub fn physusp(&mut self) -> BitWriterRaw<'_, u32, PCGCCTL_SPEC, bool, BitM, 4>
pub fn physusp(&mut self) -> BitWriterRaw<'_, u32, PCGCCTL_SPEC, bool, BitM, 4>
Bit 4 - PHY Suspended
Methods from Deref<Target = W<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.
Trait Implementations
sourceimpl From<W<PCGCCTL_SPEC>> for W
impl From<W<PCGCCTL_SPEC>> for W
sourcefn from(writer: W<PCGCCTL_SPEC>) -> W
fn from(writer: W<PCGCCTL_SPEC>) -> W
Converts to this type from the input type.
Auto Trait Implementations
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more