Enum stm32_metapac::rcc::vals::I2s1sel
#[repr(u8)]pub enum I2s1sel {
SYS = 0,
PLL1_P = 1,
HSI = 2,
I2S_CKIN = 3,
}
Variants§
SYS = 0
SYSCLK used as I2S1 clock source
PLL1_P = 1
PLLPCLK used as I2S1 clock source
HSI = 2
HSI used as I2S1 clock source
I2S_CKIN = 3
External clock used as I2S1 clock source
Implementations§
Trait Implementations§
§impl Ord for I2s1sel
impl Ord for I2s1sel
§impl PartialOrd for I2s1sel
impl PartialOrd for I2s1sel
§fn partial_cmp(&self, other: &I2s1sel) -> Option<Ordering>
fn partial_cmp(&self, other: &I2s1sel) -> 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 I2s1sel
impl Eq for I2s1sel
impl StructuralEq for I2s1sel
impl StructuralPartialEq for I2s1sel
Auto Trait Implementations§
impl RefUnwindSafe for I2s1sel
impl Send for I2s1sel
impl Sync for I2s1sel
impl Unpin for I2s1sel
impl UnwindSafe for I2s1sel
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