Struct esp_idf_sys::rtc_cpu_freq_config_s
source · [−]#[repr(C)]pub struct rtc_cpu_freq_config_s {
pub source: rtc_cpu_freq_src_t,
pub source_freq_mhz: u32,
pub div: u32,
pub freq_mhz: u32,
}
Expand description
@brief CPU clock configuration structure
Fields
source: rtc_cpu_freq_src_t
!< The clock from which CPU clock is derived
source_freq_mhz: u32
!< Source clock frequency
div: u32
!< Divider, freq_mhz = source_freq_mhz / div
freq_mhz: u32
!< CPU clock frequency
Trait Implementations
sourceimpl Clone for rtc_cpu_freq_config_s
impl Clone for rtc_cpu_freq_config_s
sourcefn clone(&self) -> rtc_cpu_freq_config_s
fn clone(&self) -> rtc_cpu_freq_config_s
Returns a copy of the value. Read more
1.0.0fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for rtc_cpu_freq_config_s
impl Debug for rtc_cpu_freq_config_s
sourceimpl Default for rtc_cpu_freq_config_s
impl Default for rtc_cpu_freq_config_s
impl Copy for rtc_cpu_freq_config_s
Auto Trait Implementations
impl RefUnwindSafe for rtc_cpu_freq_config_s
impl Send for rtc_cpu_freq_config_s
impl Sync for rtc_cpu_freq_config_s
impl Unpin for rtc_cpu_freq_config_s
impl UnwindSafe for rtc_cpu_freq_config_s
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstablefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
impl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
fn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
Uses borrowed data to replace owned data, usually by cloning. Read more