Struct esp32c3_hal::i2s::I2s

source ·
pub struct I2s<'d, I, T, P, TX, RX>where
    I: Instance<T>,
    T: RegisterAccess + Clone,
    P: I2sMclkPin,
    TX: Tx,
    RX: Rx,
{ pub i2s_tx: TxCreator<T, TX>, pub i2s_rx: RxCreator<T, RX>, /* private fields */ }
Expand description

Instance of the I2S peripheral driver

Fields§

§i2s_tx: TxCreator<T, TX>§i2s_rx: RxCreator<T, RX>

Trait Implementations§

Auto Trait Implementations§

Blanket Implementations§

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

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

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