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