Enum d1_pac::ccu::cpu_axi_cfg::CPU_CLK_SEL_A
source · #[repr(u8)]pub enum CPU_CLK_SEL_A {
HOSC = 0,
CLK32K = 1,
CLK16M_RC = 2,
PLL_CPU_P = 3,
PLL_PERI_1X = 4,
PLL_PERI_2X = 5,
PLL_PERI_800M = 6,
}
Expand description
Clock Source Select
Value on reset: 0
Variants§
HOSC = 0
0: 0
CLK32K = 1
1: 1
CLK16M_RC = 2
2: 10
PLL_CPU_P = 3
3: 11
PLL_PERI_1X = 4
4: 100
PLL_PERI_2X = 5
5: 101
PLL_PERI_800M = 6
6: 110
Trait Implementations§
source§impl Clone for CPU_CLK_SEL_A
impl Clone for CPU_CLK_SEL_A
source§fn clone(&self) -> CPU_CLK_SEL_A
fn clone(&self) -> CPU_CLK_SEL_A
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for CPU_CLK_SEL_A
impl Debug for CPU_CLK_SEL_A
source§impl From<CPU_CLK_SEL_A> for u8
impl From<CPU_CLK_SEL_A> for u8
source§fn from(variant: CPU_CLK_SEL_A) -> Self
fn from(variant: CPU_CLK_SEL_A) -> Self
Converts to this type from the input type.
source§impl PartialEq for CPU_CLK_SEL_A
impl PartialEq for CPU_CLK_SEL_A
impl Copy for CPU_CLK_SEL_A
impl Eq for CPU_CLK_SEL_A
impl StructuralPartialEq for CPU_CLK_SEL_A
Auto Trait Implementations§
impl Freeze for CPU_CLK_SEL_A
impl RefUnwindSafe for CPU_CLK_SEL_A
impl Send for CPU_CLK_SEL_A
impl Sync for CPU_CLK_SEL_A
impl Unpin for CPU_CLK_SEL_A
impl UnwindSafe for CPU_CLK_SEL_A
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)