esp_idf_hal::i2s

Trait I2s

Source
pub trait I2s: Send + Sealed {
    // Required method
    fn port() -> i2s_port_t;
}
Expand description

Trait implemented by I2S peripherals to obtain their port number.

Required Methods§

Source

fn port() -> i2s_port_t

Return the port number for the peripheral.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§

Source§

impl I2s for I2S0