Enum esp_idf_hal::i2s::config::MclkMultiple
source · pub enum MclkMultiple {
M128,
M256,
M384,
M512,
}
Expand description
The multiple of MCLK to the sample rate.
Variants§
M128
MCLK = sample rate * 128
M256
MCLK = sample rate * 256
M384
MCLK = sample rate * 384
M512
MCLK = sample rate * 512
Trait Implementations§
source§impl Clone for MclkMultiple
impl Clone for MclkMultiple
source§fn clone(&self) -> MclkMultiple
fn clone(&self) -> MclkMultiple
Returns a copy of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for MclkMultiple
impl Debug for MclkMultiple
source§impl From<MclkMultiple> for u32
impl From<MclkMultiple> for u32
source§fn from(mclk_multiple: MclkMultiple) -> Self
fn from(mclk_multiple: MclkMultiple) -> Self
Converts to this type from the input type.
source§impl Ord for MclkMultiple
impl Ord for MclkMultiple
source§impl PartialEq for MclkMultiple
impl PartialEq for MclkMultiple
source§impl PartialOrd for MclkMultiple
impl PartialOrd for MclkMultiple
impl Copy for MclkMultiple
impl Eq for MclkMultiple
impl StructuralPartialEq for MclkMultiple
Auto Trait Implementations§
impl Freeze for MclkMultiple
impl RefUnwindSafe for MclkMultiple
impl Send for MclkMultiple
impl Sync for MclkMultiple
impl Unpin for MclkMultiple
impl UnwindSafe for MclkMultiple
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)