Enum esp_idf_svc::hal::i2s::config::PdmSignalScale
source · pub enum PdmSignalScale {
Div2,
None,
Mul2,
Mul4,
}
Expand description
Pulse density modulation (PDM) transmit signal scaling mode.
Variants§
Div2
Divide the PDM signal by 2.
None
No scaling.
Mul2
Multiply the PDM signal by 2.
Mul4
Multiply the PDM signal by 4.
Trait Implementations§
source§impl Clone for PdmSignalScale
impl Clone for PdmSignalScale
source§fn clone(&self) -> PdmSignalScale
fn clone(&self) -> PdmSignalScale
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 PdmSignalScale
impl Debug for PdmSignalScale
source§impl Default for PdmSignalScale
impl Default for PdmSignalScale
source§fn default() -> PdmSignalScale
fn default() -> PdmSignalScale
Returns the “default value” for a type. Read more
source§impl PartialEq for PdmSignalScale
impl PartialEq for PdmSignalScale
source§fn eq(&self, other: &PdmSignalScale) -> bool
fn eq(&self, other: &PdmSignalScale) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for PdmSignalScale
impl Eq for PdmSignalScale
impl StructuralPartialEq for PdmSignalScale
Auto Trait Implementations§
impl Freeze for PdmSignalScale
impl RefUnwindSafe for PdmSignalScale
impl Send for PdmSignalScale
impl Sync for PdmSignalScale
impl Unpin for PdmSignalScale
impl UnwindSafe for PdmSignalScale
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
)