Enum d1_pac::i2s_pcm::i2s_pcm_fmt0::LRCK_POLARITY_A
source · pub enum LRCK_POLARITY_A {
LOW = 0,
HIGH = 1,
}
Expand description
LRCK Polarity
Value on reset: 0
Variants§
LOW = 0
0: I2S/Left-justified/Right-justified: Left-channel when LRCK is low
PCM: LRCK asserted at negative edge.
HIGH = 1
1: I2S/LeftJustified/Right-justified: Left-channel when LRCK is high
PCM: LRCK asserted at positive edge.
Trait Implementations§
source§impl Clone for LRCK_POLARITY_A
impl Clone for LRCK_POLARITY_A
source§fn clone(&self) -> LRCK_POLARITY_A
fn clone(&self) -> LRCK_POLARITY_A
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for LRCK_POLARITY_A
impl Debug for LRCK_POLARITY_A
source§impl From<LRCK_POLARITY_A> for bool
impl From<LRCK_POLARITY_A> for bool
source§fn from(variant: LRCK_POLARITY_A) -> Self
fn from(variant: LRCK_POLARITY_A) -> Self
Converts to this type from the input type.
source§impl PartialEq for LRCK_POLARITY_A
impl PartialEq for LRCK_POLARITY_A
impl Copy for LRCK_POLARITY_A
impl Eq for LRCK_POLARITY_A
impl StructuralPartialEq for LRCK_POLARITY_A
Auto Trait Implementations§
impl Freeze for LRCK_POLARITY_A
impl RefUnwindSafe for LRCK_POLARITY_A
impl Send for LRCK_POLARITY_A
impl Sync for LRCK_POLARITY_A
impl Unpin for LRCK_POLARITY_A
impl UnwindSafe for LRCK_POLARITY_A
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§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
)source§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
source§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
)