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> Freeze for ParlIoTx<'d, CH, P, CP>
impl<'d, CH, P, CP> RefUnwindSafe for ParlIoTx<'d, CH, P, CP>
impl<'d, CH, P, CP> Send for ParlIoTx<'d, CH, P, CP>
impl<'d, CH, P, CP> Sync for ParlIoTx<'d, CH, P, CP>
impl<'d, CH, P, CP> Unpin for ParlIoTx<'d, CH, P, CP>
impl<'d, CH, P, CP> UnwindSafe for ParlIoTx<'d, CH, P, CP>
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