pub struct ParlIoRx<'d, CH, P, CP>where
CH: ChannelTypes,
P: RxPins + ConfigurePins,
CP: RxClkPin,{ /* private fields */ }
Expand description
Parallel IO RX channel
Implementations§
Source§impl<'d, CH, P, CP> ParlIoRx<'d, CH, P, CP>where
CH: ChannelTypes,
<CH as ChannelTypes>::P: ParlIoPeripheral,
P: RxPins + ConfigurePins,
CP: RxClkPin,
impl<'d, CH, P, CP> ParlIoRx<'d, CH, P, CP>where
CH: ChannelTypes,
<CH as ChannelTypes>::P: ParlIoPeripheral,
P: RxPins + ConfigurePins,
CP: RxClkPin,
Sourcepub fn read_dma<RXBUF>(
self,
words: RXBUF,
) -> Result<RxDmaTransfer<'d, CH, RXBUF, P, CP>, Error>where
RXBUF: WriteBuffer<Word = u8>,
pub fn read_dma<RXBUF>(
self,
words: RXBUF,
) -> Result<RxDmaTransfer<'d, CH, RXBUF, P, CP>, Error>where
RXBUF: WriteBuffer<Word = u8>,
Perform a DMA read.
This will return a RxDmaTransfer owning the buffer(s) and the driver instance.
The maximum amount of data is 32736 bytes when using EofMode::ByteLen.
It’s only limited by the size of the DMA buffer when using EofMode::EnableSignal.
Trait Implementations§
Auto Trait Implementations§
impl<'d, CH, P, CP> Freeze for ParlIoRx<'d, CH, P, CP>
impl<'d, CH, P, CP> RefUnwindSafe for ParlIoRx<'d, CH, P, CP>
impl<'d, CH, P, CP> Send for ParlIoRx<'d, CH, P, CP>
impl<'d, CH, P, CP> Sync for ParlIoRx<'d, CH, P, CP>
impl<'d, CH, P, CP> Unpin for ParlIoRx<'d, CH, P, CP>
impl<'d, CH, P, CP> UnwindSafe for ParlIoRx<'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