Struct esp32c3_hal::i2s::I2sRx
source · pub struct I2sRx<'d, T, P, CH>where
T: RegisterAccess,
CH: ChannelTypes,
P: I2sRxPins,{ /* private fields */ }
Expand description
I2S RX channel
Trait Implementations§
source§impl<'d, T, P, CH, BUFFER> DmaTransfer<BUFFER, I2sRx<'d, T, P, CH>> for I2sReadDmaTransfer<'d, T, P, CH, BUFFER>where
T: RegisterAccess,
CH: ChannelTypes,
P: I2sRxPins,
impl<'d, T, P, CH, BUFFER> DmaTransfer<BUFFER, I2sRx<'d, T, P, CH>> for I2sReadDmaTransfer<'d, T, P, CH, BUFFER>where T: RegisterAccess, CH: ChannelTypes, P: I2sRxPins,
source§impl<'d, W, T, P, CH> I2sRead<W> for I2sRx<'d, T, P, CH>where
T: RegisterAccess,
CH: ChannelTypes,
P: I2sRxPins,
W: AcceptedWord,
impl<'d, W, T, P, CH> I2sRead<W> for I2sRx<'d, T, P, CH>where T: RegisterAccess, CH: ChannelTypes, P: I2sRxPins, W: AcceptedWord,
source§impl<'d, T, P, CH, RXBUF> I2sReadDma<'d, T, P, CH, RXBUF> for I2sRx<'d, T, P, CH>where
T: RegisterAccess,
CH: ChannelTypes,
P: I2sRxPins,
impl<'d, T, P, CH, RXBUF> I2sReadDma<'d, T, P, CH, RXBUF> for I2sRx<'d, T, P, CH>where T: RegisterAccess, CH: ChannelTypes, P: I2sRxPins,
source§fn read_dma(
self,
words: RXBUF
) -> Result<I2sReadDmaTransfer<'d, T, P, CH, RXBUF>, Error>where
RXBUF: WriteBuffer<Word = u8>,
fn read_dma( self, words: RXBUF ) -> Result<I2sReadDmaTransfer<'d, T, P, CH, RXBUF>, Error>where RXBUF: WriteBuffer<Word = u8>,
Read I2S.
Returns I2sReadDmaTransfer which represents the in-progress DMA
transfer
source§fn read_dma_circular(
self,
words: RXBUF
) -> Result<I2sReadDmaTransfer<'d, T, P, CH, RXBUF>, Error>where
RXBUF: WriteBuffer<Word = u8>,
fn read_dma_circular( self, words: RXBUF ) -> Result<I2sReadDmaTransfer<'d, T, P, CH, RXBUF>, Error>where RXBUF: WriteBuffer<Word = u8>,
Continuously read from I2S.
Returns I2sReadDmaTransfer which represents the in-progress DMA
transfer
Auto Trait Implementations§
impl<'d, T, P, CH> RefUnwindSafe for I2sRx<'d, T, P, CH>where P: RefUnwindSafe, T: RefUnwindSafe, <CH as ChannelTypes>::Rx<'d>: RefUnwindSafe,
impl<'d, T, P, CH> Send for I2sRx<'d, T, P, CH>where P: Send, T: Send, <CH as ChannelTypes>::Rx<'d>: Send,
impl<'d, T, P, CH> Sync for I2sRx<'d, T, P, CH>where P: Sync, T: Sync, <CH as ChannelTypes>::Rx<'d>: Sync,
impl<'d, T, P, CH> Unpin for I2sRx<'d, T, P, CH>where P: Unpin, T: Unpin, <CH as ChannelTypes>::Rx<'d>: Unpin,
impl<'d, T, P, CH> UnwindSafe for I2sRx<'d, T, P, CH>where P: UnwindSafe, T: UnwindSafe, <CH as ChannelTypes>::Rx<'d>: UnwindSafe,
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more