Struct esp32c6_hal::parl_io::ParlIoFullDuplex
source · pub struct ParlIoFullDuplex<'d, CH>where
CH: ChannelTypes,
<CH as ChannelTypes>::P: ParlIoPeripheral,{
pub tx: TxCreatorFullDuplex<'d, CH>,
pub rx: RxCreatorFullDuplex<'d, CH>,
/* private fields */
}
Expand description
Parallel IO in full duplex mode
Full duplex mode might limit the maximum possible bit width.
Fields§
§tx: TxCreatorFullDuplex<'d, CH>
§rx: RxCreatorFullDuplex<'d, CH>
Implementations§
source§impl<'d, CH> ParlIoFullDuplex<'d, CH>where
CH: ChannelTypes,
<CH as ChannelTypes>::P: ParlIoPeripheral,
impl<'d, CH> ParlIoFullDuplex<'d, CH>where CH: ChannelTypes, <CH as ChannelTypes>::P: ParlIoPeripheral,
pub fn new( parl_io: impl Peripheral<P = PARL_IO> + 'd, dma_channel: Channel<'d, CH>, frequency: Rate<u32, 1, 1>, _clocks: &Clocks<'_> ) -> Result<ParlIoFullDuplex<'d, CH>, Error>
Auto Trait Implementations§
impl<'d, CH> RefUnwindSafe for ParlIoFullDuplex<'d, CH>where <CH as ChannelTypes>::Rx<'d>: RefUnwindSafe, <CH as ChannelTypes>::Tx<'d>: RefUnwindSafe,
impl<'d, CH> Send for ParlIoFullDuplex<'d, CH>where <CH as ChannelTypes>::Rx<'d>: Send, <CH as ChannelTypes>::Tx<'d>: Send,
impl<'d, CH> Sync for ParlIoFullDuplex<'d, CH>where <CH as ChannelTypes>::Rx<'d>: Sync, <CH as ChannelTypes>::Tx<'d>: Sync,
impl<'d, CH> Unpin for ParlIoFullDuplex<'d, CH>where <CH as ChannelTypes>::Rx<'d>: Unpin, <CH as ChannelTypes>::Tx<'d>: Unpin,
impl<'d, CH> !UnwindSafe for ParlIoFullDuplex<'d, CH>
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