Struct esp_idf_hal::i2s::config::TdmConfig
source · pub struct TdmConfig { /* private fields */ }
Expand description
Time-division multiplexing (TDM) mode configuration for the I2S peripheral.
Implementations§
source§impl TdmConfig
impl TdmConfig
sourcepub fn new(
channel_cfg: Config,
clk_cfg: TdmClkConfig,
slot_cfg: TdmSlotConfig,
gpio_cfg: TdmGpioConfig,
) -> Self
pub fn new( channel_cfg: Config, clk_cfg: TdmClkConfig, slot_cfg: TdmSlotConfig, gpio_cfg: TdmGpioConfig, ) -> Self
Create a new TDM mode channel configuration from the given base configuration, clock configuration, slot configuration, and GPIO configuration.
Trait Implementations§
impl Copy for TdmConfig
impl Eq for TdmConfig
impl StructuralPartialEq for TdmConfig
Auto Trait Implementations§
impl Freeze for TdmConfig
impl RefUnwindSafe for TdmConfig
impl Send for TdmConfig
impl Sync for TdmConfig
impl Unpin for TdmConfig
impl UnwindSafe for TdmConfig
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
)