Enum stm32h7xx_hal::pac::rcc::d2ccip1r::SPI45SEL_A
source · #[repr(u8)]pub enum SPI45SEL_A {
Apb = 0,
Pll2Q = 1,
Pll3Q = 2,
HsiKer = 3,
CsiKer = 4,
Hse = 5,
}
Expand description
SPI4 and 5 kernel clock source selection
Value on reset: 0
Variants§
Apb = 0
0: APB clock selected as peripheral clock
Pll2Q = 1
1: pll2_q selected as peripheral clock
Pll3Q = 2
2: pll3_q selected as peripheral clock
HsiKer = 3
3: hsi_ker selected as peripheral clock
CsiKer = 4
4: csi_ker selected as peripheral clock
Hse = 5
5: HSE selected as peripheral clock
Trait Implementations§
source§impl Clone for SPI45SEL_A
impl Clone for SPI45SEL_A
source§fn clone(&self) -> SPI45SEL_A
fn clone(&self) -> SPI45SEL_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 SPI45SEL_A
impl Debug for SPI45SEL_A
source§impl PartialEq for SPI45SEL_A
impl PartialEq for SPI45SEL_A
source§fn eq(&self, other: &SPI45SEL_A) -> bool
fn eq(&self, other: &SPI45SEL_A) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for SPI45SEL_A
impl StructuralPartialEq for SPI45SEL_A
Auto Trait Implementations§
impl Freeze for SPI45SEL_A
impl RefUnwindSafe for SPI45SEL_A
impl Send for SPI45SEL_A
impl Sync for SPI45SEL_A
impl Unpin for SPI45SEL_A
impl UnwindSafe for SPI45SEL_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