Enum stm32_metapac::rcc::vals::Sai2sel
#[repr(u8)]pub enum Sai2sel {
PLL1_Q = 0,
PLL2_P = 1,
PLL3_P = 2,
I2S_CKIN = 3,
PER = 4,
SPDIFRX_SYMB = 5,
_RESERVED_6 = 6,
_RESERVED_7 = 7,
}
Variants§
PLL1_Q = 0
pll1_q selected as peripheral clock
PLL2_P = 1
pll2_p selected as peripheral clock
PLL3_P = 2
pll3_p selected as peripheral clock
I2S_CKIN = 3
I2S_CKIN selected as peripheral clock
PER = 4
PER selected as peripheral clock
SPDIFRX_SYMB = 5
spdifrx_symb_ck selected as SAI2 kernel clock.
_RESERVED_6 = 6
_RESERVED_7 = 7
Implementations§
Trait Implementations§
§impl Ord for Sai2sel
impl Ord for Sai2sel
§impl PartialEq for Sai2sel
impl PartialEq for Sai2sel
§impl PartialOrd for Sai2sel
impl PartialOrd for Sai2sel
§fn partial_cmp(&self, other: &Sai2sel) -> Option<Ordering>
fn partial_cmp(&self, other: &Sai2sel) -> 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 Sai2sel
impl Eq for Sai2sel
impl StructuralEq for Sai2sel
impl StructuralPartialEq for Sai2sel
Auto Trait Implementations§
impl RefUnwindSafe for Sai2sel
impl Send for Sai2sel
impl Sync for Sai2sel
impl Unpin for Sai2sel
impl UnwindSafe for Sai2sel
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