Struct esp_idf_hal::i2s::config::PdmRxConfig
source · pub struct PdmRxConfig { /* private fields */ }
Expand description
Pulse density modulation (PDM) mode receive configuration for the I2S peripheral.
Implementations§
source§impl PdmRxConfig
impl PdmRxConfig
sourcepub fn new(
channel_cfg: Config,
clk_cfg: PdmRxClkConfig,
slot_cfg: PdmRxSlotConfig,
gpio_cfg: PdmRxGpioConfig,
) -> Self
pub fn new( channel_cfg: Config, clk_cfg: PdmRxClkConfig, slot_cfg: PdmRxSlotConfig, gpio_cfg: PdmRxGpioConfig, ) -> Self
Create a new PDM mode receive configuration from the specified clock, slot, and GPIO configurations.
Trait Implementations§
source§impl Clone for PdmRxConfig
impl Clone for PdmRxConfig
source§fn clone(&self) -> PdmRxConfig
fn clone(&self) -> PdmRxConfig
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 PdmRxConfig
impl Debug for PdmRxConfig
source§impl PartialEq for PdmRxConfig
impl PartialEq for PdmRxConfig
impl Copy for PdmRxConfig
impl Eq for PdmRxConfig
impl StructuralPartialEq for PdmRxConfig
Auto Trait Implementations§
impl Freeze for PdmRxConfig
impl RefUnwindSafe for PdmRxConfig
impl Send for PdmRxConfig
impl Sync for PdmRxConfig
impl Unpin for PdmRxConfig
impl UnwindSafe for PdmRxConfig
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
)