pub struct CpuClkConfig { /* private fields */ }Available on crate feature
unstable only.Expand description
Configures the CPU_CLK clock node.
The output is calculated as OUTPUT = HP_ROOT_CLK / (divisor + 1).
Implementations§
Source§impl CpuClkConfig
impl CpuClkConfig
Sourcepub const fn new(divisor: CpuClkDivisor) -> Self
pub const fn new(divisor: CpuClkDivisor) -> Self
Creates a new configuration for the CPU_CLK clock node.
pub fn divisor(self) -> u32
Trait Implementations§
Source§impl Clone for CpuClkConfig
impl Clone for CpuClkConfig
impl Copy for CpuClkConfig
Source§impl Debug for CpuClkConfig
impl Debug for CpuClkConfig
impl Eq for CpuClkConfig
Source§impl Hash for CpuClkConfig
impl Hash for CpuClkConfig
Source§impl PartialEq for CpuClkConfig
impl PartialEq for CpuClkConfig
impl StructuralPartialEq for CpuClkConfig
Auto Trait Implementations§
impl Freeze for CpuClkConfig
impl RefUnwindSafe for CpuClkConfig
impl Send for CpuClkConfig
impl Sync for CpuClkConfig
impl Unpin for CpuClkConfig
impl UnsafeUnpin for CpuClkConfig
impl UnwindSafe for CpuClkConfig
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)