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