pub struct I2sReadDmaTransfer<T, P, RX, BUFFER>where
    T: RegisterAccess,
    P: I2sRxPins,
    RX: Rx,
{ /* private fields */ }
Expand description

An in-progress DMA read transfer.

Implementations§

Amount of bytes which can be poped

Wait for the DMA transfer to complete and return the buffers and the I2sTx instance after copying the read data to the given buffer. Length of the received data is returned at the third element of the tuple.

Trait Implementations§

Wait for the DMA transfer to complete and return the buffers and the I2sTx instance.

Executes the destructor for this type. Read more

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.