Struct esp32c3_hal::i2s::I2sTx
source · pub struct I2sTx<'d, T, P, CH>where
T: RegisterAccess,
CH: ChannelTypes,
P: I2sTxPins,{ /* private fields */ }
Expand description
I2S TX channel
Trait Implementations§
source§impl<'d, T, P, CH, BUFFER> DmaTransfer<BUFFER, I2sTx<'d, T, P, CH>> for I2sWriteDmaTransfer<'d, T, P, CH, BUFFER>where
T: RegisterAccess,
CH: ChannelTypes,
P: I2sTxPins,
impl<'d, T, P, CH, BUFFER> DmaTransfer<BUFFER, I2sTx<'d, T, P, CH>> for I2sWriteDmaTransfer<'d, T, P, CH, BUFFER>where T: RegisterAccess, CH: ChannelTypes, P: I2sTxPins,
source§impl<'d, T, P, W, CH> I2sWrite<W> for I2sTx<'d, T, P, CH>where
T: RegisterAccess,
CH: ChannelTypes,
P: I2sTxPins,
W: AcceptedWord,
impl<'d, T, P, W, CH> I2sWrite<W> for I2sTx<'d, T, P, CH>where T: RegisterAccess, CH: ChannelTypes, P: I2sTxPins, W: AcceptedWord,
source§impl<'d, T, P, CH, TXBUF> I2sWriteDma<'d, T, P, CH, TXBUF> for I2sTx<'d, T, P, CH>where
T: RegisterAccess,
CH: ChannelTypes,
P: I2sTxPins,
impl<'d, T, P, CH, TXBUF> I2sWriteDma<'d, T, P, CH, TXBUF> for I2sTx<'d, T, P, CH>where T: RegisterAccess, CH: ChannelTypes, P: I2sTxPins,
source§fn write_dma(
self,
words: TXBUF
) -> Result<I2sWriteDmaTransfer<'d, T, P, CH, TXBUF>, Error>where
TXBUF: ReadBuffer<Word = u8>,
fn write_dma( self, words: TXBUF ) -> Result<I2sWriteDmaTransfer<'d, T, P, CH, TXBUF>, Error>where TXBUF: ReadBuffer<Word = u8>,
Write I2S.
Returns I2sWriteDmaTransfer which represents the in-progress DMA
transfer
source§fn write_dma_circular(
self,
words: TXBUF
) -> Result<I2sWriteDmaTransfer<'d, T, P, CH, TXBUF>, Error>where
TXBUF: ReadBuffer<Word = u8>,
fn write_dma_circular( self, words: TXBUF ) -> Result<I2sWriteDmaTransfer<'d, T, P, CH, TXBUF>, Error>where TXBUF: ReadBuffer<Word = u8>,
Continuously write to I2S. Returns I2sWriteDmaTransfer which
represents the in-progress DMA transfer
Auto Trait Implementations§
impl<'d, T, P, CH> RefUnwindSafe for I2sTx<'d, T, P, CH>where P: RefUnwindSafe, T: RefUnwindSafe, <CH as ChannelTypes>::Tx<'d>: RefUnwindSafe,
impl<'d, T, P, CH> Send for I2sTx<'d, T, P, CH>where P: Send, T: Send, <CH as ChannelTypes>::Tx<'d>: Send,
impl<'d, T, P, CH> Sync for I2sTx<'d, T, P, CH>where P: Sync, T: Sync, <CH as ChannelTypes>::Tx<'d>: Sync,
impl<'d, T, P, CH> Unpin for I2sTx<'d, T, P, CH>where P: Unpin, T: Unpin, <CH as ChannelTypes>::Tx<'d>: Unpin,
impl<'d, T, P, CH> UnwindSafe for I2sTx<'d, T, P, CH>where P: UnwindSafe, T: UnwindSafe, <CH as ChannelTypes>::Tx<'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