Trait TxChannelAsync

Source
pub trait TxChannelAsync: TxChannelInternal {
    // Provided method
    async fn transmit(&mut self, data: &[u32]) -> Result<(), Error>
       where Self: Sized { ... }
}
Available on crate feature unstable only.
Expand description

TX channel in async mode

Provided Methods§

Source

async fn transmit(&mut self, data: &[u32]) -> Result<(), Error>
where Self: Sized,

Start transmitting the given pulse code sequence. The length of sequence cannot exceed the size of the allocated RMT RAM.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§