Struct esp_idf_svc::hal::i2s::config::PdmTxGpioConfig
source · pub struct PdmTxGpioConfig { /* private fields */ }
Expand description
PDM mode GPIO (general purpose input/output) transmit configuration.
Implementations§
source§impl PdmTxGpioConfig
impl PdmTxGpioConfig
sourcepub fn new(clk_inv: bool) -> PdmTxGpioConfig
pub fn new(clk_inv: bool) -> PdmTxGpioConfig
Create a new PDM mode GPIO transmit configuration with the specified inversion flag for the clock output.
sourcepub fn clk_invert(self, clk_inv: bool) -> PdmTxGpioConfig
pub fn clk_invert(self, clk_inv: bool) -> PdmTxGpioConfig
Set the clock inversion flag on this PDM GPIO transmit configuration.
Trait Implementations§
source§impl Clone for PdmTxGpioConfig
impl Clone for PdmTxGpioConfig
source§fn clone(&self) -> PdmTxGpioConfig
fn clone(&self) -> PdmTxGpioConfig
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 PdmTxGpioConfig
impl Debug for PdmTxGpioConfig
source§impl Default for PdmTxGpioConfig
impl Default for PdmTxGpioConfig
source§fn default() -> PdmTxGpioConfig
fn default() -> PdmTxGpioConfig
Returns the “default value” for a type. Read more
source§impl PartialEq for PdmTxGpioConfig
impl PartialEq for PdmTxGpioConfig
source§fn eq(&self, other: &PdmTxGpioConfig) -> bool
fn eq(&self, other: &PdmTxGpioConfig) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for PdmTxGpioConfig
impl Eq for PdmTxGpioConfig
impl StructuralPartialEq for PdmTxGpioConfig
Auto Trait Implementations§
impl Freeze for PdmTxGpioConfig
impl RefUnwindSafe for PdmTxGpioConfig
impl Send for PdmTxGpioConfig
impl Sync for PdmTxGpioConfig
impl Unpin for PdmTxGpioConfig
impl UnwindSafe for PdmTxGpioConfig
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
)