Enum stm32_metapac::rcc::vals::Spi123sel
#[repr(u8)]pub enum Spi123sel {
PLL1_Q = 0,
PLL2_P = 1,
PLL3_P = 2,
I2S_CKIN = 3,
PER = 4,
_RESERVED_5 = 5,
_RESERVED_6 = 6,
_RESERVED_7 = 7,
}
Variants§
PLL1_Q = 0
pll1_q_ck selected as SPI/I2S1 and 7 kernel clock (default after reset).
PLL2_P = 1
pll2_p_ck selected as SPI/I2S1 and 7 kernel clock.
PLL3_P = 2
pll3_p_ck selected as SPI/I2S1 and 7 kernel clock.
I2S_CKIN = 3
I2S_CKIN selected as SPI/I2S1 and 7 kernel clock.
PER = 4
per_ck selected as SPI/I2S1,and 7 kernel clock.
_RESERVED_5 = 5
_RESERVED_6 = 6
_RESERVED_7 = 7
Implementations§
Trait Implementations§
§impl Ord for Spi123sel
impl Ord for Spi123sel
§impl PartialEq for Spi123sel
impl PartialEq for Spi123sel
§impl PartialOrd for Spi123sel
impl PartialOrd for Spi123sel
§fn partial_cmp(&self, other: &Spi123sel) -> Option<Ordering>
fn partial_cmp(&self, other: &Spi123sel) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Copy for Spi123sel
impl Eq for Spi123sel
impl StructuralEq for Spi123sel
impl StructuralPartialEq for Spi123sel
Auto Trait Implementations§
impl RefUnwindSafe for Spi123sel
impl Send for Spi123sel
impl Sync for Spi123sel
impl Unpin for Spi123sel
impl UnwindSafe for Spi123sel
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