Enum esp_idf_hal::i2s::config::TdmSlot

source ·
pub enum TdmSlot {
Show 16 variants Slot0, Slot1, Slot2, Slot3, Slot4, Slot5, Slot6, Slot7, Slot8, Slot9, Slot10, Slot11, Slot12, Slot13, Slot14, Slot15,
}
Expand description

An individual TDM slot.

Variants§

§

Slot0

TDM slot #0

§

Slot1

TDM slot #1

§

Slot2

TDM slot #2

§

Slot3

TDM slot #3

§

Slot4

TDM slot #4

§

Slot5

TDM slot #5

§

Slot6

TDM slot #6

§

Slot7

TDM slot #7

§

Slot8

TDM slot #8

§

Slot9

TDM slot #9

§

Slot10

TDM slot #10

§

Slot11

TDM slot #11

§

Slot12

TDM slot #12

§

Slot13

TDM slot #13

§

Slot14

TDM slot #14

§

Slot15

TDM slot #15

Trait Implementations§

source§

impl BitAnd<TdmSlot> for TdmSlotMask

Bitwise AND a TdmSlotMask with a TdmSlot to produce a TdmSlotMask.

If the slot mask contains the slot, the result is a TdmSlotMask containing that slot. Otherwise, the result is an empty slot mask.

§

type Output = TdmSlotMask

The resulting type after applying the & operator.
source§

fn bitand(self, rhs: TdmSlot) -> Self::Output

Performs the & operation. Read more
source§

impl BitAnd<TdmSlotMask> for TdmSlot

Bitwise AND a TdmSlot with a TdmSlotMask to produce a TdmSlotMask.

If the slot mask contains the slot, the result is a TdmSlotMask containing that slot. Otherwise, the result is an empty slot mask.

§

type Output = TdmSlotMask

The resulting type after applying the & operator.
source§

fn bitand(self, rhs: TdmSlotMask) -> Self::Output

Performs the & operation. Read more
source§

impl BitAnd for TdmSlot

Bitwise AND aTdmSlot with another TdmSlot to produce a TdmSlotMask.

If the slots are the same, the result is a TdmSlotMask containing that slot. Otherwise, the result is an empty slot mask.

§

type Output = TdmSlotMask

The resulting type after applying the & operator.
source§

fn bitand(self, rhs: Self) -> Self::Output

Performs the & operation. Read more
source§

impl BitAndAssign<TdmSlot> for TdmSlotMask

Bitwise AND a TdmSlotMask with a TdmSlot and assign the result to self.

If the slot mask contains the slot, the result is a TdmSlotMask containing that slot. Otherwise, the result is an empty slot mask.

source§

fn bitand_assign(&mut self, rhs: TdmSlot)

Performs the &= operation. Read more
source§

impl BitOr<TdmSlot> for TdmSlotMask

Bitwise OR aTdmSlotMask with a TdmSlot to produce a TdmSlotMask.

The result is a TdmSlotMask containing the slot and all slots in the slot mask.

§

type Output = TdmSlotMask

The resulting type after applying the | operator.
source§

fn bitor(self, rhs: TdmSlot) -> Self::Output

Performs the | operation. Read more
source§

impl BitOr<TdmSlotMask> for TdmSlot

Bitwise OR aTdmSlot with a TdmSlotMask to produce a TdmSlotMask.

The result is a TdmSlotMask containing the slot and all slots in the slot mask.

§

type Output = TdmSlotMask

The resulting type after applying the | operator.
source§

fn bitor(self, rhs: TdmSlotMask) -> Self::Output

Performs the | operation. Read more
source§

impl BitOr for TdmSlot

Bitwise OR aTdmSlot with another TdmSlot to produce a TdmSlotMask.

The result is a TdmSlotMask containing both slots.

§

type Output = TdmSlotMask

The resulting type after applying the | operator.
source§

fn bitor(self, rhs: Self) -> Self::Output

Performs the | operation. Read more
source§

impl BitOrAssign<TdmSlot> for TdmSlotMask

Bitwise OR aTdmSlotMask with a TdmSlot and assign the result to self.

The result is a TdmSlotMask containing the slot and all slots in the slot mask.

source§

fn bitor_assign(&mut self, rhs: TdmSlot)

Performs the |= operation. Read more
source§

impl Clone for TdmSlot

source§

fn clone(&self) -> TdmSlot

Returns a copy of the value. Read more
1.0.0§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for TdmSlot

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl From<TdmSlot> for TdmSlotMask

Convert a TdmSlot into a TdmSlotMask.

source§

fn from(slot: TdmSlot) -> TdmSlotMask

Converts to this type from the input type.
source§

impl From<TdmSlot> for u8

Convert a TdmSlot to a u8.

source§

fn from(slot: TdmSlot) -> u8

Converts to this type from the input type.
source§

impl Not for TdmSlot

Produce the bitwise NOT of a TdmSlot to produce a TdmSlotMask containing all slots except the original slot.

§

type Output = TdmSlotMask

The resulting type after applying the ! operator.
source§

fn not(self) -> Self::Output

Performs the unary ! operation. Read more
source§

impl PartialEq for TdmSlot

source§

fn eq(&self, other: &TdmSlot) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl TryFrom<u8> for TdmSlot

Attempt to convert from a u8 to a TdmSlot.

§

type Error = EspError

The type returned in the event of a conversion error.
source§

fn try_from(slot: u8) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl Copy for TdmSlot

source§

impl Eq for TdmSlot

source§

impl StructuralPartialEq for TdmSlot

Auto Trait Implementations§

§

impl Freeze for TdmSlot

§

impl RefUnwindSafe for TdmSlot

§

impl Send for TdmSlot

§

impl Sync for TdmSlot

§

impl Unpin for TdmSlot

§

impl UnwindSafe for TdmSlot

Blanket Implementations§

§

impl<T> Any for T
where T: 'static + ?Sized,

§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> Borrow<T> for T
where T: ?Sized,

§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
§

impl<T> BorrowMut<T> for T
where T: ?Sized,

§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
§

impl<T> CloneToUninit for T
where T: Clone,

§

default unsafe fn clone_to_uninit(&self, dst: *mut T)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
§

impl<T> CloneToUninit for T
where T: Copy,

§

unsafe fn clone_to_uninit(&self, dst: *mut T)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
§

impl<T> From<T> for T

§

fn from(t: T) -> T

Returns the argument unchanged.

§

impl<T, U> Into<U> for T
where U: From<T>,

§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of [From]<T> for U chooses to do.

§

impl<T> ToOwned for T
where T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.