Enum stm32_hal2::dfsdm::DfsdmClockSrc
source · [−]#[repr(u8)]
pub enum DfsdmClockSrc {
SysClk,
AudioClk,
}
Expand description
Toggle clock clourse between system and audio clocks. Sets CH0CFGR1 register, CKOUTSRC field.
Variants
SysClk
Source for output clock is from system clock
AudioClk
Source for output clock is from audio clock H7: Audio clock source is SAI1 clock selected by SAI1SEL[1:0] field in RCC configuration
Trait Implementations
sourceimpl Clone for DfsdmClockSrc
impl Clone for DfsdmClockSrc
sourcefn clone(&self) -> DfsdmClockSrc
fn clone(&self) -> DfsdmClockSrc
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
impl Copy for DfsdmClockSrc
Auto Trait Implementations
impl RefUnwindSafe for DfsdmClockSrc
impl Send for DfsdmClockSrc
impl Sync for DfsdmClockSrc
impl Unpin for DfsdmClockSrc
impl UnwindSafe for DfsdmClockSrc
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more