[][src]Enum esp_idf_bindgen::i2s_dac_mode_t

#[repr(u32)]pub enum i2s_dac_mode_t {
    I2S_DAC_CHANNEL_DISABLE,
    I2S_DAC_CHANNEL_RIGHT_EN,
    I2S_DAC_CHANNEL_LEFT_EN,
    I2S_DAC_CHANNEL_BOTH_EN,
    I2S_DAC_CHANNEL_MAX,
}

@brief I2S DAC mode for i2s_set_dac_mode.

@note PDM and built-in DAC functions are only supported on I2S0 for current ESP32 chip.

Variants

I2S_DAC_CHANNEL_DISABLE

< Disable I2S built-in DAC signals

I2S_DAC_CHANNEL_RIGHT_EN

< Enable I2S built-in DAC right channel, maps to DAC channel 1 on GPIO25

I2S_DAC_CHANNEL_LEFT_EN

< Enable I2S built-in DAC left channel, maps to DAC channel 2 on GPIO26

I2S_DAC_CHANNEL_BOTH_EN

< Enable both of the I2S built-in DAC channels.

I2S_DAC_CHANNEL_MAX

< I2S built-in DAC mode max index

Trait Implementations

impl Clone for i2s_dac_mode_t[src]

impl Copy for i2s_dac_mode_t[src]

impl Debug for i2s_dac_mode_t[src]

impl Eq for i2s_dac_mode_t[src]

impl Hash for i2s_dac_mode_t[src]

impl PartialEq<i2s_dac_mode_t> for i2s_dac_mode_t[src]

impl StructuralEq for i2s_dac_mode_t[src]

impl StructuralPartialEq for i2s_dac_mode_t[src]

Auto Trait Implementations

impl Send for i2s_dac_mode_t

impl Sync for i2s_dac_mode_t

impl Unpin for i2s_dac_mode_t

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

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

The type returned in the event of a conversion error.