Enum stm32_hal2::pac::rcc::d1ccipr::CKPERSEL_A
source · #[repr(u8)]pub enum CKPERSEL_A {
Hsi = 0,
Csi = 1,
Hse = 2,
}
Expand description
per_ck clock source selection
Value on reset: 0
Variants§
Hsi = 0
0: HSI selected as peripheral clock
Csi = 1
1: CSI selected as peripheral clock
Hse = 2
2: HSE selected as peripheral clock
Trait Implementations§
source§impl Clone for CKPERSEL_A
impl Clone for CKPERSEL_A
source§fn clone(&self) -> CKPERSEL_A
fn clone(&self) -> CKPERSEL_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 CKPERSEL_A
impl Debug for CKPERSEL_A
source§impl PartialEq for CKPERSEL_A
impl PartialEq for CKPERSEL_A
source§fn eq(&self, other: &CKPERSEL_A) -> bool
fn eq(&self, other: &CKPERSEL_A) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for CKPERSEL_A
impl StructuralPartialEq for CKPERSEL_A
Auto Trait Implementations§
impl RefUnwindSafe for CKPERSEL_A
impl Send for CKPERSEL_A
impl Sync for CKPERSEL_A
impl Unpin for CKPERSEL_A
impl UnwindSafe for CKPERSEL_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