Struct esp32c6_hal::parl_io::ParlIoTx
source · pub struct ParlIoTx<'d, CH, P, CP>where
CH: ChannelTypes,
P: TxPins + ConfigurePins,
CP: TxClkPin,{ /* private fields */ }
Expand description
Parallel IO TX channel
Implementations§
source§impl<'d, CH, P, CP> ParlIoTx<'d, CH, P, CP>where
CH: ChannelTypes,
<CH as ChannelTypes>::P: ParlIoPeripheral,
P: TxPins + ConfigurePins,
CP: TxClkPin,
impl<'d, CH, P, CP> ParlIoTx<'d, CH, P, CP>where CH: ChannelTypes, <CH as ChannelTypes>::P: ParlIoPeripheral, P: TxPins + ConfigurePins, CP: TxClkPin,
sourcepub fn write_dma<TXBUF>(
self,
words: TXBUF
) -> Result<DmaTransfer<'d, CH, TXBUF, P, CP>, Error>where
TXBUF: ReadBuffer<Word = u8>,
pub fn write_dma<TXBUF>( self, words: TXBUF ) -> Result<DmaTransfer<'d, CH, TXBUF, P, CP>, Error>where TXBUF: ReadBuffer<Word = u8>,
Perform a DMA write.
This will return a DmaTransfer owning the buffer(s) and the driver instance.
The maximum amount of data to be sent is 32736 bytes.
Trait Implementations§
Auto Trait Implementations§
impl<'d, CH, P, CP> RefUnwindSafe for ParlIoTx<'d, CH, P, CP>where CP: RefUnwindSafe, P: RefUnwindSafe, <CH as ChannelTypes>::Tx<'d>: RefUnwindSafe,
impl<'d, CH, P, CP> Send for ParlIoTx<'d, CH, P, CP>where CP: Send, P: Send, <CH as ChannelTypes>::Tx<'d>: Send,
impl<'d, CH, P, CP> Sync for ParlIoTx<'d, CH, P, CP>where CP: Sync, P: Sync, <CH as ChannelTypes>::Tx<'d>: Sync,
impl<'d, CH, P, CP> Unpin for ParlIoTx<'d, CH, P, CP>where CP: Unpin, P: Unpin, <CH as ChannelTypes>::Tx<'d>: Unpin,
impl<'d, CH, P, CP> UnwindSafe for ParlIoTx<'d, CH, P, CP>where CP: UnwindSafe, P: 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