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