pub struct I2sParallelTransfer<'d, BUF, Dm>where
BUF: DmaTxBuffer,
Dm: DriverMode,{ /* private fields */ }
Available on crate feature
unstable
only.Expand description
Represents an ongoing (or potentially finished) transfer using the i2s parallel interface
Implementations§
Source§impl<'d, BUF, Dm> I2sParallelTransfer<'d, BUF, Dm>where
BUF: DmaTxBuffer,
Dm: DriverMode,
impl<'d, BUF, Dm> I2sParallelTransfer<'d, BUF, Dm>where
BUF: DmaTxBuffer,
Dm: DriverMode,
Sourcepub fn is_done(&self) -> bool
pub fn is_done(&self) -> bool
Returns true when Self::wait will not block.
Sourcepub fn wait(self) -> (I2sParallel<'d, Dm>, BUF)
pub fn wait(self) -> (I2sParallel<'d, Dm>, BUF)
Wait for the transfer to finish
Source§impl<BUF> I2sParallelTransfer<'_, BUF, Async>where
BUF: DmaTxBuffer,
impl<BUF> I2sParallelTransfer<'_, BUF, Async>where
BUF: DmaTxBuffer,
Sourcepub async fn wait_for_done(&mut self) -> Result<(), DmaError>
pub async fn wait_for_done(&mut self) -> Result<(), DmaError>
Wait for the transfer to finish
Trait Implementations§
Source§impl<BUF, Dm> Deref for I2sParallelTransfer<'_, BUF, Dm>where
BUF: DmaTxBuffer,
Dm: DriverMode,
impl<BUF, Dm> Deref for I2sParallelTransfer<'_, BUF, Dm>where
BUF: DmaTxBuffer,
Dm: DriverMode,
Source§impl<BUF, Dm> DerefMut for I2sParallelTransfer<'_, BUF, Dm>where
BUF: DmaTxBuffer,
Dm: DriverMode,
impl<BUF, Dm> DerefMut for I2sParallelTransfer<'_, BUF, Dm>where
BUF: DmaTxBuffer,
Dm: DriverMode,
Source§impl<BUF, Dm> Drop for I2sParallelTransfer<'_, BUF, Dm>where
BUF: DmaTxBuffer,
Dm: DriverMode,
impl<BUF, Dm> Drop for I2sParallelTransfer<'_, BUF, Dm>where
BUF: DmaTxBuffer,
Dm: DriverMode,
Auto Trait Implementations§
impl<'d, BUF, Dm> Freeze for I2sParallelTransfer<'d, BUF, Dm>where
<BUF as DmaTxBuffer>::View: Freeze,
impl<'d, BUF, Dm> RefUnwindSafe for I2sParallelTransfer<'d, BUF, Dm>where
<BUF as DmaTxBuffer>::View: RefUnwindSafe,
Dm: RefUnwindSafe,
impl<'d, BUF, Dm> Send for I2sParallelTransfer<'d, BUF, Dm>where
<BUF as DmaTxBuffer>::View: Send,
Dm: Send,
impl<'d, BUF, Dm> Sync for I2sParallelTransfer<'d, BUF, Dm>where
<BUF as DmaTxBuffer>::View: Sync,
Dm: Sync,
impl<'d, BUF, Dm> Unpin for I2sParallelTransfer<'d, BUF, Dm>where
<BUF as DmaTxBuffer>::View: Unpin,
Dm: Unpin,
impl<'d, BUF, Dm> !UnwindSafe for I2sParallelTransfer<'d, BUF, Dm>
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T, U> Into<U> for Twhere
U: From<T>,
impl<T, U> Into<U> for Twhere
U: From<T>,
§impl<P, T> Receiver for Pwhere
P: Deref<Target = T> + ?Sized,
T: ?Sized,
impl<P, T> Receiver for Pwhere
P: Deref<Target = T> + ?Sized,
T: ?Sized,
§impl<T, U> TryFrom<U> for Twhere
U: Into<T>,
impl<T, U> TryFrom<U> for Twhere
U: Into<T>,
§impl<T, U> TryInto<U> for Twhere
U: TryFrom<T>,
impl<T, U> TryInto<U> for Twhere
U: TryFrom<T>,
Source§impl<R> TryRngCore for Rwhere
R: RngCore + ?Sized,
impl<R> TryRngCore for Rwhere
R: RngCore + ?Sized,
Source§fn try_next_u32(&mut self) -> Result<u32, <R as TryRngCore>::Error>
fn try_next_u32(&mut self) -> Result<u32, <R as TryRngCore>::Error>
Return the next random
u32
.Source§fn try_next_u64(&mut self) -> Result<u64, <R as TryRngCore>::Error>
fn try_next_u64(&mut self) -> Result<u64, <R as TryRngCore>::Error>
Return the next random
u64
.Source§fn try_fill_bytes(
&mut self,
dst: &mut [u8],
) -> Result<(), <R as TryRngCore>::Error>
fn try_fill_bytes( &mut self, dst: &mut [u8], ) -> Result<(), <R as TryRngCore>::Error>
Fill
dest
entirely with random data.Source§fn unwrap_err(self) -> UnwrapErr<Self>where
Self: Sized,
fn unwrap_err(self) -> UnwrapErr<Self>where
Self: Sized,
Wrap RNG with the
UnwrapErr
wrapper.Source§fn unwrap_mut(&mut self) -> UnwrapMut<'_, Self>
fn unwrap_mut(&mut self) -> UnwrapMut<'_, Self>
Wrap RNG with the
UnwrapMut
wrapper.