#[repr(u8)]pub enum SaiSrc {
PllSai1P = 0,
Pllp = 1,
Hsi = 2,
ExtClk = 3,
}
Expand description
SAI clock input source. Sets RCC_CCIPR register, SAIxSEL fields.
Variants§
PllSai1P = 0
PLLSAI1 “P” clock (PLLSAI1PCLK) selected as SAI1 clock
Pllp = 1
PLL “P” clock (PLLPCLK) selected as SAI1 clock
Hsi = 2
HSI16 clock selected as SAI1 clock
ExtClk = 3
External input SAI1_EXTCLK selected as SAI1 clock
Trait Implementations§
impl Copy for SaiSrc
impl StructuralPartialEq for SaiSrc
Auto Trait Implementations§
impl Freeze for SaiSrc
impl RefUnwindSafe for SaiSrc
impl Send for SaiSrc
impl Sync for SaiSrc
impl Unpin for SaiSrc
impl UnwindSafe for SaiSrc
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