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