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 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