Enum stm32_metapac::rcc::vals::Sai1src
#[repr(u8)]pub enum Sai1src {
PLLSAI = 0,
PLLI2S = 1,
PLLR = 2,
I2S_CKIN = 3,
}
Variants§
PLLSAI = 0
SAI1 clock frequency = f(PLLSAI_Q) / PLLSAIDIVQ
PLLI2S = 1
SAI1 clock frequency = f(PLLI2S_Q) / PLLI2SDIVQ
PLLR = 2
SAI1 clock frequency = f(PLL_R)
I2S_CKIN = 3
I2S_CKIN Alternate function input frequency
Implementations§
Trait Implementations§
§impl Ord for Sai1src
impl Ord for Sai1src
§impl PartialOrd for Sai1src
impl PartialOrd for Sai1src
§fn partial_cmp(&self, other: &Sai1src) -> Option<Ordering>
fn partial_cmp(&self, other: &Sai1src) -> 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 Sai1src
impl Eq for Sai1src
impl StructuralEq for Sai1src
impl StructuralPartialEq for Sai1src
Auto Trait Implementations§
impl RefUnwindSafe for Sai1src
impl Send for Sai1src
impl Sync for Sai1src
impl Unpin for Sai1src
impl UnwindSafe for Sai1src
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