Struct stm32_metapac::otg::regs::Pcgcctl
#[repr(transparent)]pub struct Pcgcctl(pub u32);
Expand description
Power and clock gating control register
Tuple Fieldsยง
ยง0: u32
Implementationsยง
ยงimpl Pcgcctl
impl Pcgcctl
pub fn set_stppclk(&mut self, val: bool)
pub fn set_stppclk(&mut self, val: bool)
Stop PHY clock
pub fn set_gatehclk(&mut self, val: bool)
pub fn set_gatehclk(&mut self, val: bool)
Gate HCLK
pub fn set_physusp(&mut self, val: bool)
pub fn set_physusp(&mut self, val: bool)
PHY Suspended
Trait Implementationsยง
ยงimpl PartialEq for Pcgcctl
impl PartialEq for Pcgcctl
impl Copy for Pcgcctl
impl Eq for Pcgcctl
impl StructuralEq for Pcgcctl
impl StructuralPartialEq for Pcgcctl
Auto Trait Implementationsยง
impl RefUnwindSafe for Pcgcctl
impl Send for Pcgcctl
impl Sync for Pcgcctl
impl Unpin for Pcgcctl
impl UnwindSafe for Pcgcctl
Blanket Implementationsยง
sourceยงimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
sourceยงfn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more