Struct stm32_hal2::pac::otg1_hs_pwrclk::pcgcr::W
source · [−]pub struct W(_);
Expand description
Register PCGCR
writer
Implementations
sourceimpl W
impl W
sourcepub fn stppclk(&mut self) -> BitWriterRaw<'_, u32, PCGCR_SPEC, bool, BitM, 0>
pub fn stppclk(&mut self) -> BitWriterRaw<'_, u32, PCGCR_SPEC, bool, BitM, 0>
Bit 0 - Stop PHY clock
sourcepub fn gatehclk(&mut self) -> BitWriterRaw<'_, u32, PCGCR_SPEC, bool, BitM, 1>
pub fn gatehclk(&mut self) -> BitWriterRaw<'_, u32, PCGCR_SPEC, bool, BitM, 1>
Bit 1 - Gate HCLK
sourcepub fn physusp(&mut self) -> BitWriterRaw<'_, u32, PCGCR_SPEC, bool, BitM, 4>
pub fn physusp(&mut self) -> BitWriterRaw<'_, u32, PCGCR_SPEC, bool, BitM, 4>
Bit 4 - PHY suspended
Methods from Deref<Target = W<PCGCR_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<PCGCR_SPEC>> for W
impl From<W<PCGCR_SPEC>> for W
sourcefn from(writer: W<PCGCR_SPEC>) -> W
fn from(writer: W<PCGCR_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