Enum stm32_metapac::rcc::vals::I2s1src
#[repr(u8)]pub enum I2s1src {
PLLI2SR = 0,
I2S_CKIN = 1,
PLLR = 2,
HSI_HSE = 3,
}
Variants§
PLLI2SR = 0
I2Sx clock frequency = f(PLLI2S_R)
I2S_CKIN = 1
I2Sx clock frequency = I2S_CKIN Alternate function input frequency
PLLR = 2
I2Sx clock frequency = f(PLL_R)
HSI_HSE = 3
I2Sx clock frequency = HSI/HSE depends on PLLSRC bit (PLLCFGR[22])
Implementations§
Trait Implementations§
§impl Ord for I2s1src
impl Ord for I2s1src
§impl PartialOrd for I2s1src
impl PartialOrd for I2s1src
§fn partial_cmp(&self, other: &I2s1src) -> Option<Ordering>
fn partial_cmp(&self, other: &I2s1src) -> 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 I2s1src
impl Eq for I2s1src
impl StructuralEq for I2s1src
impl StructuralPartialEq for I2s1src
Auto Trait Implementations§
impl RefUnwindSafe for I2s1src
impl Send for I2s1src
impl Sync for I2s1src
impl Unpin for I2s1src
impl UnwindSafe for I2s1src
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