Enum stm32_metapac::rcc::vals::Spi1sel
#[repr(u8)]pub enum Spi1sel {
PLL1_Q = 0,
PLL2_P = 1,
PLL3_P = 2,
AUDIOCLK = 3,
PER = 4,
_RESERVED_5 = 5,
_RESERVED_6 = 6,
_RESERVED_7 = 7,
}
Variants§
PLL1_Q = 0
pll1_q_ck selected as kernel clock (default after reset)
PLL2_P = 1
pll2_p_ck selected as kernel clock
PLL3_P = 2
pll3_p_ck selected as kernel clock
AUDIOCLK = 3
AUDIOCLK selected as kernel clock
PER = 4
per_ck selected as kernel clock
_RESERVED_5 = 5
_RESERVED_6 = 6
_RESERVED_7 = 7
Implementations§
Trait Implementations§
§impl Ord for Spi1sel
impl Ord for Spi1sel
§impl PartialOrd for Spi1sel
impl PartialOrd for Spi1sel
impl Copy for Spi1sel
impl Eq for Spi1sel
impl StructuralPartialEq for Spi1sel
Auto Trait Implementations§
impl Freeze for Spi1sel
impl RefUnwindSafe for Spi1sel
impl Send for Spi1sel
impl Sync for Spi1sel
impl Unpin for Spi1sel
impl UnwindSafe for Spi1sel
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§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
)