Struct Pcgcctl1
#[repr(transparent)]pub struct Pcgcctl1(pub u32);Expand description
Power and clock gating control register 1
Tuple Fields§
§0: u32Implementations§
§impl Pcgcctl1
impl Pcgcctl1
pub const fn set_gateen(&mut self, val: bool)
pub const fn set_gateen(&mut self, val: bool)
Enable active clock gating
pub const fn cntgateclk(&self) -> Cntgateclk
pub const fn cntgateclk(&self) -> Cntgateclk
Counter for clock gating: number of idle PHY/AHB clock cycles before gating
pub const fn set_cntgateclk(&mut self, val: Cntgateclk)
pub const fn set_cntgateclk(&mut self, val: Cntgateclk)
Counter for clock gating: number of idle PHY/AHB clock cycles before gating
pub const fn set_ramgateen(&mut self, val: bool)
pub const fn set_ramgateen(&mut self, val: bool)
Enable RAM clock gating
Trait Implementations§
impl Copy for Pcgcctl1
impl Eq for Pcgcctl1
impl StructuralPartialEq for Pcgcctl1
Auto Trait Implementations§
impl Freeze for Pcgcctl1
impl RefUnwindSafe for Pcgcctl1
impl Send for Pcgcctl1
impl Sync for Pcgcctl1
impl Unpin for Pcgcctl1
impl UnsafeUnpin for Pcgcctl1
impl UnwindSafe for Pcgcctl1
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