Struct esp32c6_hal::parl_io::ParlIoRx
source · 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> RefUnwindSafe for ParlIoRx<'d, CH, P, CP>where CP: RefUnwindSafe, P: RefUnwindSafe, <CH as ChannelTypes>::Rx<'d>: RefUnwindSafe,
impl<'d, CH, P, CP> Send for ParlIoRx<'d, CH, P, CP>where CP: Send, P: Send, <CH as ChannelTypes>::Rx<'d>: Send,
impl<'d, CH, P, CP> Sync for ParlIoRx<'d, CH, P, CP>where CP: Sync, P: Sync, <CH as ChannelTypes>::Rx<'d>: Sync,
impl<'d, CH, P, CP> Unpin for ParlIoRx<'d, CH, P, CP>where CP: Unpin, P: Unpin, <CH as ChannelTypes>::Rx<'d>: Unpin,
impl<'d, CH, P, CP> UnwindSafe for ParlIoRx<'d, CH, P, CP>where CP: UnwindSafe, P: 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