pub enum CLOCK_SOURCE_A {
INTERNAL,
EXTERNAL,
}
Expand description
Use internal I2S clock or external XTAL clock
Value on reset: 0
Variants
INTERNAL
0: Use internal clock.
EXTERNAL
1: Use external XTAL clock.
External clock frequency should be 2 * N * 256 fs, where fs is sample frequency and N must be an integer.
Trait Implementations
sourceimpl Clone for CLOCK_SOURCE_A
impl Clone for CLOCK_SOURCE_A
sourcefn clone(&self) -> CLOCK_SOURCE_A
fn clone(&self) -> CLOCK_SOURCE_A
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
sourceimpl Debug for CLOCK_SOURCE_A
impl Debug for CLOCK_SOURCE_A
sourceimpl From<CLOCK_SOURCE_A> for bool
impl From<CLOCK_SOURCE_A> for bool
sourcefn from(variant: CLOCK_SOURCE_A) -> Self
fn from(variant: CLOCK_SOURCE_A) -> Self
Converts to this type from the input type.
sourceimpl PartialEq<CLOCK_SOURCE_A> for CLOCK_SOURCE_A
impl PartialEq<CLOCK_SOURCE_A> for CLOCK_SOURCE_A
impl Copy for CLOCK_SOURCE_A
impl StructuralPartialEq for CLOCK_SOURCE_A
Auto Trait Implementations
impl RefUnwindSafe for CLOCK_SOURCE_A
impl Send for CLOCK_SOURCE_A
impl Sync for CLOCK_SOURCE_A
impl Unpin for CLOCK_SOURCE_A
impl UnwindSafe for CLOCK_SOURCE_A
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